Tiny Core Extensions > TCE Q&A Forum

Solved! - How works the locale.tcz files?

(1/1)

Onyarian:
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.

curaga:
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

Onyarian:
Thanks Curaga,

this is a rapid response.

Navigation

[0] Message Index

Go to full version