Page 1 of 1

Add locales to Solaris

Posted: Fri Oct 04, 2013 4:27 pm
by cah
appzone02 was jumped earlier.

When I was trying to create NGZ today, it complained about en_Us in sysidcfg file.
I took a look at appzone02 and found all it has is C locale.

Spending some time trying to add en_US but with no luck.

I then used localeadm to see what's available on the DVD.

Code: Select all

localeadm -ls -d /cdrom/cdrom0
and I found region - nam is available so I added the whole region:

Code: Select all

localeadm -a nam -d /cdrom/cdrom0
After it is done, a lot more locales are available:

Code: Select all

%locale -a
C
POSIX
en_CA
en_CA.ISO8859-1
en_CA.UTF-8
en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.ISO8859-15@euro
en_US.UTF-8
es
es_MX
es_MX.ISO8859-1
es_MX.UTF-8
fr
fr_CA
fr_CA.ISO8859-1
fr_CA.UTF-8
iso_8859_1
Then, NGZ creation went smoothly. No more complaints.