WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Solved! - How works the locale.tcz files?  (Read 2296 times)

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Solved! - How works the locale.tcz files?
« on: January 23, 2010, 05:53:20 AM »
Please,
Could someone explain how locale files work and how to set tc for this?

For example, I load leafpad.tcz and leafpad-locale.tcz and I see no difference in the menus, always are coming in English.

Thanks.
« Last Edit: January 23, 2010, 11:11:17 AM by Onyarian »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: How works the locale.tcz files?
« Reply #1 on: January 23, 2010, 05:57:59 AM »
You would set the variable LANG to a suitable value, so that apps know which locale you want.

eg. in ~/.profile:
export LANG=es_ES@euro

or with a boot code:
tinycore lang=es_ES@euro

Using a locale also requires that glibc has support for it, see this thread:
http://forum.tinycorelinux.net/index.php?topic=1800.0

Edit: added boot param
« Last Edit: January 23, 2010, 09:51:27 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: Solved! - How works the locale.tcz files?
« Reply #2 on: January 23, 2010, 11:18:02 AM »
Thanks Curaga,

this is a rapid response.