Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to change the solaris language

807559Feb 23 2006 — edited Mar 1 2006
Hi.

I have installed the solaris with english language. Now i need to change the language. I want to install the Spanish language.

Which is the correct procedure to do this task.
Any site explaining this procedure?

Thanks,
Everton Thomaz

Comments

807559
Hello.

First of all:
The system's messages (e.g. when booting the machine or before powering off) are always in english as far as I know - you cannot change them.

To change the language for the system you must change the LC_* environment variables.

Example (german language):
...
LC_COLLATE=de_DE.ISO8859-1
LC_CTYPE=de_DE.ISO8859-1
LC_MESSAGES=de
LC_MONETARY=de_DE.ISO8859-1
LC_NUMERIC=de_DE.ISO8859-1
LC_TIME=de_DE.ISO8859-1
...
You'll find all language packets installed as subdirectories in "/usr/lib/locale".

I do not know if there is a graphical interface or a tool to do this but you may edit the configuration files manually:

The variables are set in the file "/etc/default/init" for all users and can be overwritten in each user's ".profile" file (if different users use different languages).

Martin
807559
And LANG variable? Do you have knowhow about this variable?

Before login solaris console, i choose the language from menu language to english or spanish. When i enter in solaris console, after to open the terminal, i see the LANG variable = C. Where's the correct place to change this variable in the operation system? I want to set this variable as spanish language. I want to change this remotely, because this, i wanna know where is the place to set this variable.

Thanks for the help.
Everton Thomaz
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 29 2006
Added on Feb 23 2006
2 comments
257 views