LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Amigo (http://www.linuxquestions.org/questions/amigo-56/)
-   -   Internationalization problem (http://www.linuxquestions.org/questions/amigo-56/internationalization-problem-258283/)

skruf_man 11-23-2004 05:46 AM

Internationalization problem
 
Hi !

I have a problem getting messages/programs in my native language. These variables are defined:

export LC_ALL=nb_NO
export LANG=nb_NO
export LANGUAGE=nb_NO

Now I should have some norwegian language, but there isn't. If I do a 'set' command there is a variable called LANG already, may be this is the problem (where does the variable LANG=C come from?)?

gettext is also installed, but no difference.

Abiword is now misbehaving and the program menus are missing. Strange!

I think Amigo should have some support for internationalization.

On a zipslack install this works out of the box, and I get national language both from system commands, error messages and running software with this ability.

I suspect some packages are missing? But which?

rjlee 11-23-2004 06:05 AM

Where have you defined these variables? They should normally go in your .bashrc, to take effect at the next login. (if you run these commands in a terminal window, it will only effect that window until it is closed.)
LANG=C is a common default, and means to use untranslated strings. It's normally defined in something like /etc/profile

skruf_man 11-23-2004 09:27 AM

Found out the problem... Had to:
1. install glibc-i18n-2.3.2-noarch-1.tgz
2. edit /etc/profile.d/lang.sh

Look in /usr/share/i18n/locales for supported languages. If you want German language support you change the file /etc/prodile.d/lang.sh so it looks like this 'export LANG=de_DE'

Now Amigo has internationalization support. :)


All times are GMT -5. The time now is 06:09 PM.