LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   change language (https://www.linuxquestions.org/questions/red-hat-31/change-language-450869/)

spooge 06-02-2006 07:02 AM

change language
 
Not sure how to do this... new software on my work system (rhel4) requires a different language
Quote:

Your chosen language "en_US.UTF-8 is based on Unicode, which this version of Pro?Engineer does not use. Please restart with a language that does not contain the string ".utf" or ".UTF"
did some googling but to no prevail

Thanks!

marozsas 06-02-2006 07:59 AM

For a system wide configuration, in the file /etc/sysconfig/i18n change LANG="en_US.UTF-8" to "LANG="en_US.ISO-8859-1".

For a user base change, in ~/.profile, add "export LANG="en_US.ISO-8859-1" at the end of file.

And, for a shell based change, run "export LANG="en_US.ISO-8859-1" before start the Pro-Engineer in the command line.

spooge 06-02-2006 08:30 AM

thankyou marozsas!

small problem..

in shell i ran
Code:

export LANG= en_US.ISO-8859-1
and tried with quotes
export LANG= "en_US.ISO-8859-1"

and get this error
Code:

not a valid identifier
does this need to be installed?

marozsas 06-02-2006 08:34 AM

I am assuming you are using bash. There is no spaces in assigment command.
Code:

bash-3.1$ export LANG= en_US.ISO-8859-1
bash: export: `en_US.ISO-8859-1': not a valid identifier
bash-3.1$ export LANG=en_US.ISO-8859-1
bash-3.1$


spooge 06-02-2006 02:32 PM

ok works now

i modified the file /etc/sysconfig/i18n
to the proper code


thanks !!

marozsas 06-02-2006 02:41 PM

Good to know.

see'ya,


All times are GMT -5. The time now is 04:57 AM.