Gopi Desaboyina Solaris Blogs

Just another weblog

Installing Locale in Solaris 10.

Installing Japanese fonts/Locale in Solaris 10.
1. Check what all locales you’ve installed using locale -a
2. localeadm -lt –> Check if you’ve Japanese there. If not you can directly install from DVD localeadm -a
3. localeadm -v -a ja -d /<DVD Mount Path/Solaris_10/Product>
4. localeadm -v -r ja –> This one removes the Japnese Packages ( Only Locale Related Packages).
5. set the LANG & LC_ALL variables then open gedit or appropriate program to check fonts.

Check if your installation supports Japanese Region ?

# localeadm -lt
You do not appear to have created a fresh config file since you began using this application.
If you have a set of Solaris install images available to you, it is recommended that you do so before proceeding.

Do you wish to create a new config file? [y/n]: y

Please select the option that was used to install Solaris

1.  CD installation/net installed CD images
2.  DVD installation/net installed combined image

Please enter your choice:
The following regions are supported by localeadm:


Australasia (aua)
[ Australia, New Zealand ]

Central America (cam)
[ Costa Rica, Guatemala, Nicaragua, Panama, El Salvador ]

Central Europe (ceu)
[ Austria, Czech Republic, Germany, Hungary, Poland, Slovakia, Switzerland (German), Switzerland (French) ]

Eastern Europe (eeu)
[ Albania, Bosnia, Bulgaria, Estonia, Croatia, Kazakhstan, Lithuania, Latvia, Macedonia, Romania, Russia, Serbia, Slovenia, Turkey, Ukraine ]

Middle East (mea)
[ Saudi Arabia, Israel ]

Northern Africa (naf)
[ Egypt ]

North America (nam)
[ Canada (English), Canada (French), United States, Mexico ]

Northern Europe (neu)
[ Denmark, Finland, Iceland, Norway (Bokmal), Norway (Nyorsk),  Sweden ]

South America (sam)
[ Argentina, Bolivia, Brazil, Chile, Colombia, Ecuador, Paraguay, Peru, Uruguay, Venezuela ]

Southern Europe (seu)
[ Cyprus, Italy, Greece, Malta (English), Malta (Maltese), Portugal, Spain (Catalan), Spain (Spanish) ]

Western Europe (weu)
[France, Holland, Belgium (French), Belgium (Flemish), Ireland, England, Luxembourg (French), Luxembourg (German) ]

Japanese (ja)

Korean (korean)

Simplified Chinese (china)

Traditional Chinese (Hong Kong) (hongkong)

Traditional Chinese (taiwan)

Thai (th_th)

Hindi (hi_in)


# locale
# ls -ltr /var/adm/messages*
-rw-r–r–   1 root     root      350534 Feb 28 20:11 /var/adm/messages.2
-rw-r–r–   1 root     root      435091 Mar 28 23:05 /var/adm/messages.1
-rw-r–r–   1 root     root      124690 Apr 16 21:04 /var/adm/messages.0
-rw-r–r–   1 root     root       59680 Apr 22 02:59 /var/adm/messages

# export LANG=ja
# export LC_ALL=ja
# locale

# ls -ltr /var/adm/messages*
-rw-r–r–   1 root     root      350534  2?????? 28??????  20:11 /var/adm/messages.2
-rw-r–r–   1 root     root      435091  3?????? 28??????  23:05 /var/adm/messages.1
-rw-r–r–   1 root     root      124690  4?????? 16??????  21:04 /var/adm/messages.0
-rw-r–r–   1 root     root       59680  4?????? 22??????  02:59 /var/adm/messages

List of packages gets installed by localeadm can be found at  “/usr/sadm/lib/localeadm/Locale_config_S10.txt”


April 22, 2011 - Posted by | Solaris |

1 Comment »

  1. Very good troubleshooting steps

    Comment by krishna kumar | December 28, 2011 | Reply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: