Solaris – How to Change System Language in Solaris 8

localesolaris

I have Solaris 8 OS installed in French.

Is it possible to switch from French to English without reinstalling the OS ? If yes how ?

When locale -a i have this :

POSIX
common
en_US.UTF-8
C
iso_8859_1
en_CA
en_CA.ISO8859-1
en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.ISO8859-15@euro
fr_CA
fr_CA.ISO8859-1
iso_8859_15
th
th_TH
th_TH.TIS620

Even when I try to edit /etc/default/init with :

LANG=en_US.ISO8859-15
LC_COLLATE=en_US.ISO8859-15
LC_CTYPE=en_US.ISO8859-15
LC_MESSAGES=en_US.ISO8859-15
LC_MONETARY=en_US.ISO8859-15
LC_NUMERIC=en_US.ISO8859-15
LC_TIME=en_US.ISO8859-15
LC_ALL=en_US.ISO8859-15

and reboot : nothing happens.

To verify the result i always use date and when i reboot : i also have the date in french.

P.S : I have to do this configuration in a computer which isn't here in my office, so i have to this manipulation in a an another computer here in my office and if it works, i'll do it to the other computer.

So the computer here is configured in English and i have to switch it to French.
Here is the content of my ~./dt :

C                     errorlog              sessionlogs
Desktop               errorlog.old          sessions
Trash                 errorlog.older        simulateur.dtwmrc
appconfig             help                  startlog
appmanager            icons                 startlog.old
asr.dtwmrc            outils.dtwmrc         startlog.older
bin                   palettes              tmp
bookmarks             sdtfonts              types
dtwmrc                sdtpcaction.conf      wsmenu
en_US.ISO8859-15      sdtpcaction.conf.bak

Thanks

Best Answer

To switch to the US locale, open with an editor the file named .dtprofile present in your home directory and add this line at the end:

export LC_ALL=en_US.ISO8859-15

or better:

export LC_ALL=en_US.UTF-8

The desktop, shell and all applications should be displayed in English after the next login.

Related Question