Solaris Internationalization Guide For Developers

Summary of the Base Product

Solaris 7 includes partial locales, which provide the functionality needed for entering, displaying, and printing in local languages while using an English interface. It also includes the en_US.UTF-8 locale, which also uses an English interface, and supports the Unicode UTF-8 character encoding standard.

The base English Solaris 7 product includes the Euro full locales, a number of partial European locales as well as the en_US.UTF-8 locale.

The File System Safe Universal Transformation Format, or UTF-8, is an encoding defined by X/Open as a multi-byte representation of Unicode. UTF-8 is a variant of UNICODE. UTF-8 provides input and output support for all Solaris single-byte locales.

Partial locales can be split into two groups: the core set and the extended set. The core set is packaged in SUNWploc (operating system locale) and SUNWplow (window system locale). Since these packages are part of the end user cluster, they are installed automatically. The extended set of locales is packaged in SUNWploc1 (operating system locale) and SUNWplow1 (Window system locale). SUNWpldte has CDE support for the Eastern European locales.

SUNWploc1 and SUNWplow1 are available on the entire cluster only. SUNWploc1 and SUNWplow1 need to be added to your system before you can use the locales in the extended set.

Core Set of Locales

The core set of locales is installed automatically. The core sets are listed in Table 2-1.

Table 2-1 Core Set of Locales in SUNWploc and SUNWplow

Locale 

Language 

Country 

Encoding 

de

German 

Germany 

ISO-8859-1 

en_AU

English 

Australia 

ISO-8859-1 

en_CA

English 

Canada 

ISO-8859-1 

en_UK changed to en_GB

English 

Great Britain 

ISO-8859-1 

en_US

English 

United States 

ISO-8859-1 

en_US.UTF-8

English 

United States 

UTF-8 

es

Spanish 

Spain 

ISO-8859-1 

es_AR

Spanish 

Argentina 

ISO-8859-1 

es_BO

Spanish 

Bolivia 

ISO-8859-1 

es_CL

Spanish 

Chile 

ISO-8859-1 

es_CO

Spanish 

Columbia 

ISO-8859-1 

es_CR

Spanish 

Costa Rica 

ISO-8859-1 

es_EC  

Spanish 

Ecuador 

ISO-8859-1 

es_GT

Spanish 

Guatemala 

ISO-8859-1 

es_MX

Spanish 

Mexico 

ISO-8859-1 

es_NI

Spanish 

Nicaragua 

ISO-8859-1 

es_PA

Spanish 

Panama 

ISO-8859-1 

es_PE

Spanish 

Peru 

ISO-8859-1 

es_PY

Spanish 

Paraguay 

ISO-8859-1 

es_SV

Spanish 

El Salvador 

ISO-8859-1 

es_UY

Spanish 

Uruguay 

ISO-8859-1 

es_VE

Spanish 

Venezuela 

ISO-8859-1 

fr

French 

France 

ISO-8859-1 

it

Italian 

Italy 

ISO-8859-1 

sv

Swedish 

Sweden 

ISO-8859-1 

New Locales

Solaris software already supports most of the Western European locales and, in this release, has focused on expanding its support for the Eastern European, Thai, and the Middle Eastern regions. New and changed user locales in the Solaris 7 operating environment are listed in Table 2-2

Table 2-2 New or Changed User Locales

Region 

Locale Name 

ISO Codeset 

Comments 

Albania 

sq_AL

8859-2 

Bosnia 

nr

8859-2 

Bulgaria 

bg_BG

8859-5 

Croatia 

hr_HR

8859-2 

Finland  

su changed to fi

8859-15 

Changed to comply with ISO standards 

France 

fr

UTF-8 

 

Germany 

de

UTF-8 

Macedonia 

mk_MK

8859-5 

 

Israel 

he

8859-8 

 

Italy 

it

UTF-8 

 

Norway (nynorsk) 

no_NY

8859-1 

 

P.R. China 

zh.GBK

GBK 

GBK is a superset of GB2312 

Romania 

ro_RO

8859-2 

 

Russia 

ru

KOI-8 

The default codeset has been changed to KOI-8 from ISO 8859-5 

Saudi Arabia 

ar

8859-6 

Serbia 

sr_SP

8859-5 

 

Slovakia 

sk_SK

8859-2 

 

Slovenia 

sl_SI

8859-2 

 

Spain 

es

UTF-8 

 

Sweden 

sv

UTF-8 

 

Thailand 

th_TH

TIS 620-2533 

Thai character codeset has been registered to ISO 8859-11 

Great Britain 

en_UK changed to en_GB

8859-15 

Changed to comply with ISO standards 

United States 

en_US

UTF-8 

 

Solaris 7 software has added support for the Euro currency by adding six new user locales. These are included in Table 2-3 Note that local currency symbols are still available for backwards compatibility.

Table 2-3 New User Locales To Support the Euro Currency

Region 

Locale Name 

ISO Codeset 

Austria 

de_AT

8859-15 

Belgium (French) 

fr_BE

8859-15 

Belgium (Dutch) 

nl_BE

8859-15 

Denmark 

da

8859-15 

England 

en_EU

8859-15 

Finland 

su changed to fi

8859-15 

France 

fr

8859-15 

Germany 

de

8859-15 

Ireland 

en_IE

8859-15 

Italy 

it

8859-15 

Netherlands 

nl

8859-15 

Portugal 

pt

8859-15 

Spain 

es

8859-15 

Sweden 

sv

8859-15 

Great Britain 

en_GB

8859-15 

Europe 

en_EU

8859-15 

Extended Set of Locales

The extended set of locales is not installed automatically. If you want to use locales listed in Table 2-4 you need to install them manually.

Table 2-4 Extended Set of Locales in SUNWploc1 and SUNWplow1

Locale 

Language  

Country 

Encoding 

cz 

Czech 

Czechoslovakia 

ISO-8859-2 

da 

Danish 

Denmark 

ISO-8859-15 

de_AT 

German 

Austria 

ISO-8859-15 

de_CH 

German 

Switzerland 

ISO-8859-1 

el 

Greek  

Greece 

ISO-8859-7 

en_IE 

English 

Ireland 

ISO-8859-1 

en_NZ 

English 

New Zealand 

ISO-8859-1 

et  

Estonian 

Estonia 

ISO-8859-15 

fr_BE  

French 

Belgium 

ISO-8859-1 

fr_CA  

French 

Canada 

ISO-8859-1 

fr_CH 

French 

Switzerland 

ISO-8859-1 

hu  

Hungarian 

Hungary 

ISO-8859-2 

lt  

Lithuanian 

Lithuania 

ISO-8859-13 

lv  

Latvian 

Latvia 

ISO-8859-13 

nl  

Dutch 

Netherlands 

ISO-8859-1 

nl_BE  

Dutch 

Belgium 

ISO-8859-1 

no  

Norwegian 

Norway 

ISO-8859-1 

pl  

Polish 

Poland 

ISO-8859-2 

pt  

Portuguese 

Portugal 

ISO-8859-1 

pt_BR  

Portuguese 

Brazil 

ISO-8859-1 

ru  

Russian 

Russia 

ISO-8859-5 

su  

Finnish 

Finland 

ISO-8859-1 

tr  

Turkish 

Turkey 

ISO-8859-9