Monaco, Urdu and Switzerland ISO8859-15 locales

In the previous blogs ([1], [2]) I wrote about our locale workspace and how to work with the workspace.

This blog is lab how to add Monaco locale, Urdu (India) locale and one Switzerland locale with ISO8859-15 encoding to OpenSolaris 2009.06.

You need machine with OpenSolaris 2009.06 installation.

# prepare build machine

pfexec pkg install SUNWmercurial SUNWgmake SUNWant sunstudio
export CC=/opt/sunstudio12.1/bin/cc
pfexec svcadm enable pkg/server
pfexec pkg set-publisher -P -O http://localhost local

hg clone ssh://anon@hg.opensolaris.org//hg/nv-g11n/locale
cd locale



# create, build and install the locales

touch locale/fr_MC.UTF-8.spec locale/ur_IN.UTF-8.spec locale/fr_CH.ISO8859-15.spec
make -j PKG_REPO=http://localhost:80 PKGS="SUNWlang-fr SUNWlang-ur SUNWlang-fr-extra" ips

pfexec pkg install SUNWlang-xx SUNWlang-ur SUNWlang-fr

pfexec sh -c 'echo "Monaco fr_MC.UTF-8" >> /etc/X11/gdm/locale.alias'
pfexec sh -c 'echo "Urdu ur_IN.UTF-8" >> /etc/X11/gdm/locale.alias'
pfexec sh -c 'echo "Frech(fr_CH.ISO8859-15) fr_CH.ISO8859-15" >> /etc/X11/gdm/locale.alias

Logout, in GDM click on 'Options > Select Language', select your new locale and enjoy :)

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