Locale support in OpenSolaris 2008.05

 For those who have tried OpenSolaris 2008.05, you probably see there are only UTF-8 locales available in GDM login manager. You might ask, where is C/POSIX or where are ISO locales. I want it, I need it, how can I get it?

C,ISO and other non UTF-8 locales are still available. All non utf-8 locales are placed in SUNWlang-\*-extra packages. The reason is that in OpenSolaris UTF-8 locales are preferred and due to limited space on LiveCD other locales were added only to repository. UTF-8 locale are included in SUNWlang-\*. So if you need e.g. cs_CZ.ISO8859-2, installation of SUNWlang-cs-extra package is all you need to do.

 New locale is installed, but how to login to desktop session using it ? Actually Sun is using GNOME desktop for OpenSolaris and it includes GDM login manager. GNOME community decided C/POSIX and other non UTF-8 locales shouldn't be in the language list. That's community decision and Sun is accepting that.

 Fortunately nothing is as definitive as it looks like, so there is quite easy workaround:

1. change default locale setting in /etc/default/init
2. reboot the system
3. login in gdm using System Default option

And there is another, probably better option. Just edit /etc/X11/gdm/locale.alias file and add new entry with locale you need. e.g. "Czech cs_CZ.ISO8859-2,cs_CZ". Since that you should see this option in the language selection list in GDM. So finally you can login to what you need.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Solaris l10n & i18n, locales, keyboards, fonts and related topics.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today