Solaris Internationalization Guide For Developers

The European Localized Solaris 7 Product

European Solaris is available in three localized versions: French, German, and European. All three versions of Solaris share the same software media, which includes a fully localized CDE environment, error messages, and on-line documentation in six languages--French, German, Spanish, Swedish, Italian, and English. The difference is in the printed documentation. The French and German Solaris products include localized printed documentation, while the printed documentation for the European version is in English only.

Table 3-1 shows a list of locales in the European product. This includes both full and partial locales.

Table 3-1 European 7 Locales

Locale Name  

Language/Territory 

C

POSIX English (7-bit) ASCII C 

cz

Czech Republic 

da

Denmark 

de

Germany 

de_AT

Austria 

de_CH

Switzerland 

de.ISO8859-15

Germany 

el

Greece 

en_AU

Australia 

en_CA

Canada 

en_IE

Ireland 

en_NZ

New Zealand 

en_UK

Great Britain 

en_US

U.S. 

es

Spain 

es_AR

Argentina 

es_BO

Bolivia 

es_CL

Chile 

es_CO

Colombia 

es_CR

Costa Rica 

es_EC

Ecuador 

es_GT

Guatemala 

es_MX

Mexico 

es_NI

Nicaragua 

es_PA

Panama 

es_PE

Peru 

es_PY

Paraguay 

es_SV

El Salvador 

es_UY

Uruguay 

es_VE

Venezuela 

et

Estonia 

fr

France 

fr_BE

Belgium (French) 

fr_CA

Canada (French) 

fr_CH

Switzerland (French) 

fr.ISO8859-15

France 

fr.UTF-8

France 

hu

Hungary 

it.ISO8859-15

Italy 

it.UTF-8

Italy 

it.ISO8859-15

Italy 

lt.ISO8859-13

Lithuania 

lv.ISO8859-13

Latvia 

nl

Netherlands 

nl_BE

Netherlands/Belgium 

no

Norway 

pl

Poland 

pt_BR

Portuguese Brazil 

ru

Russia 

it.ISO8859-15

Italy 

es.ISO8859-15

Spain 

sv.ISO8859-15

Sweden 

en_EU.ISO8859-15

Europe 

en_GB.ISO8895-15

Britain 

fr_BE.ISO8895-15

Belgium 

nl.ISO8895-15

Netherlands 

nl_BE.ISO8895-15

Belgium 

pt.ISO8895-15

Portugal 

de.-AT.ISO8895-15

Austria 

en_IE.ISO8859-15

Ireland 

da.ISO8859-15

Denmark 

fi.ISO8859-15

Finland 

el_EURO

Greece 

sun_eu_greek

Greece 

de.UTF-8

Germany 

de.ISO8859-15

Germany 

fr.UTF-8

France 

it.UTF-8

Italy 

es.UTF-8

Spain 

es.ISO8859-15

Spain 

sv.UTF-8

Sweden 

sv.ISO8859-15

Sweden 

en_UTF.8

Europe 

en_ISO8859-15

Europe 

All of these locales are also present in the base Solaris 7 release.

As mentioned, the locales include partial locales. These are based on core locales for the main language. For example, the fr_CA (French Canadian) is based on the fr (French) locale. These partial locales utilize the messages that are delivered into its parent locale (French for fr_CA). If a locale hasn't been fully localized, then it may contain only English messages.

A number of Eastern European locales have also been added into the Solaris 7 product, which may be based on other ISO standards. Previously Sun locales were based on ISO-8859-1. The Eastern European locales are based on other ISO standards, as shown in Table 3-2.

Locales that are not listed are still based on ISO-8859-1.

Table 3-2 Eastern European Locales in the Solaris 7 Product

Locale Name  

Language/Territory 

ISO 

de_AT

German (Austrian) 

8859-1 

et

Estonian 

8859-15 

cz

Czech 

8859-2 

hu

Hungarian 

8859-2 

pl

Polish 

8859-2 

lv

Latvian 

8859-13 

lt

Lithuanian 

8859-13 

ru

Russian 

8859-5 

el

Greek 

8859-7 

tr

Turkish 

8859-9 

sq_AL

Albanian 

8859-2 

sk_SK

Slovakian 

8859-2 

sl_SL

Slovenian 

8859-2 

hr_HR

Croatian 

8859-2 

nr

Bosnian 

8859-2 

ro_RO

Romanian 

8859-2 

sr_SP

Serbian 

8859-5 

bg_BG

Bulgarian 

8859-5 

mk_MK

Macedonian 

8859-5 

ru.KOI8-R

Russian 

KOI8-R 

ar

Arabic 

8859-6 

he

Hebrew 

8859-8 

th_TH

Thai 

8859-11 (TIS 620.2533) 

All of the locales support character input and output. There is also iconv support for many of the major codesets. (For more on iconv, see iconv(1)The iconv modules are available on the end-user cluster of the Euro product. See Table 3-3 for details.

Table 3-3 iconv Support

Code  

Symbol 

Target Code 

Symbol 

Comment 

ISO 8859-2

iso2 

MS 1250 

win2 

Windows Latin 2 

ISO 8859-2

iso2 

MS 852 

dos2 

MS-DOS Latin 2 

ISO 8859-2

iso2 

Mazovia 

maz 

Mazovia 

ISO 8859-2

iso2 

DHN 

dhn 

Dom Handlowy Nauki 

MS 1250

win2 

ISO 8859-2 

iso2 

ISO Latin 2 

MS 1250

win2 

MS 852 

dos2 

MS-DOS Latin 2 

MS 1250

win2 

Mazovia 

maz 

Mazovia 

MS 1250

win2 

DHN 

dhn 

Dom Handlowy Naduki 

MS 852

dos2 

ISO 8859-2 

iso2 

ISO Latin 2 

MS 852

dos2 

MS 1250 

win2 

Windows Latin 2 

MS 852

dos2 

Mazovia 

maz 

Mazovia 

MS 852

dos2 

DHN 

dhn 

Dom Handlowy Nauki 

Mazovia

maz 

ISO 8859-2 

iso2 

ISO Latin 2 

Mazovia

maz 

MS 1250 

win2 

Windows Latin 2 

Mazovia

maz 

MS 852 

dos2 

MS-DOS Latin 2 

Mazovia

maz 

DHN 

dhn 

Dom Handlowy Nauki 

DHN

dhn 

ISO 8859-2 

iso2 

ISO Latin 2 

DHN

dhn 

MS 1250 

win2 

Windows Latin 2 

DHN

dhn 

MS 852 

dos2 

MS-DOS latin 2 

DHN

dhn 

Mazovia 

maz 

Mazovia 

ISO 8859-5

iso5 

KOI8-R 

koi8 

KOI8-R 

ISO 8859-5

iso5 

PC Cyrillic 

alt 

Alternative PC Cyrillic 

ISO 8859-5

iso5 

MS 1251 

win5 

Windows Cyrillic 

ISO 8859-5

iso5 

Mac Cyrillic 

mac 

Macintosh Cyrillic 

OKI8-R

koi8 

ISO 8859-5 

iso5 

ISO 8859-5 Cyrillic 

KOI8-R

koi8 

PC Cyrillic 

alt 

Alternative PC Cyrillic 

KOI8-R

koi8 

MS 1251 

win5 

Windows Cyrillic 

KOI8-R

koi8 

Mac Cyrillic 

mac 

Macintosh Cyrillic 

PC Cyrillic

alt 

ISO 8859-5 

iso5 

ISO 8859-5 Cyrillic 

PC Cyrillic

alt 

KOI8-R 

koi8 

KOI8-R 

PC Cyrillic

alt 

MS 1251 

win5 

Windows Cyrillic 

PC Cyrillic

alt 

Mac Cyrillic 

mac 

Macintosh Cyrillic 

MS 1251

win5 

ISO 8859-5 

iso5 

ISO 8859-5 Cyrillic 

MS 1251

win5 

KOI8-R 

koi8 

KOI8-R 

MS 1251

win5 

PC Cyrillic 

alt 

Alternative PC Cyrillic 

MS 1251

win5 

Mac Cyrillic 

mac 

Macintosh Cyrillic 

Mac Cyrillic

mac 

ISO 8859-5 

iso5 

ISO 8859-5 Cyrillic 

Mac Cyrillic

mac 

KOI8-R 

koi8 

KOI8-R 

Mac Cyrillic

mac 

PC Cyrillic 

alt 

Alternative PC Cyrillic 

Mac Cyrillic

mac 

MS 1251 

win5 

Windows Cyrillic 

Table 3-4 contains a list of the Solaris 7 environment locales and their corresponding codeset names.

Table 3-4 New Locales and Corresponding Codeset Names

Locale 

nl_langinfo (CODESET) 

ICONV name 

Product 

ar ISO8859-6 ISO8859-6 Base/Euro
bg_BG  ISO8859-5 ISO8859-5 Base/Euro
C 646 646 Base/Euro
cz ISO8859-2 ISO8859-2 Base/Euro
da ISO8859-1 ISO8859-1 Base/Euro
da.ISO8859-15  ISO8859-15 ISO8859-15 Base/Euro
de  ISO8859-1 ISO8859-1 Base/Euro
de.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
de_UTF-8 UTF-8 UTF-8 Base/Euro
de_AT ISO8859-1 ISO8859-1 Base/Euro
de_AT.ISO8859-15  ISO8859-15 ISO8859-15 Base/Euro
de_CH ISO8859-1 ISO8859-1 Base/Euro
el ISO8859-7 ISO8859-7 Base/Euro
el.sun_eu_greek  ISO8859-15 ISO8859-15 Base/Euro
en_AU  ISO8859-1 ISO8859-1 Base/Euro
en_CA  ISO8859-1 ISO8859-1 Base/Euro
en_EU.ISO8859-15 ISO8859-15 ISO8859-1 Base/Euro
en_EU.UTF-8 UTF-8 UTF-8 Base/Euro
en_GB ISO8859-1 ISO8859-1 Base/Euro
en_GB.ISO8859-15 ISO8859-15 ISO8859-1 Base/Euro
en_IE ISO8859-1 ISO8859-1 Base/Euro
en_IE.ISO8859-15 ISO8859-15 ISO8859-1 Base/Euro
en_NZ ISO8859-1 ISO8859-1 Base/Euro
en_US ISO8859-1 ISO8859-1 Base/Euro
en_US.UTF-8 UTF-8 UTF-8 Base/Euro
es ISO8859-1 ISO8859-1 Base/Euro
es.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
es_AR ISO8859-1 ISO8859-1 Base/Euro
es_BO ISO8859-1 ISO8859-1 Base/Euro
es_CL ISO8859-1 ISO8859-1 Base/Euro
es_CO ISO8859-1 ISO8859-1 Base/Euro
es_CR ISO8859-1 ISO8859-1 Base/Euro
es_EC ISO8859-1 ISO8859-1 Base/Euro
es_GT ISO8859-1 ISO8859-1 Base/Euro
es_MX ISO8859-1 ISO8859-1 Base/Euro
es-NI ISO8859-1 ISO8859-1 Base/Euro
es_PA ISO8859-1 ISO8859-1 Base/Euro
es_PE ISO8859-1 ISO8859-1 Base/Euro
es_PY ISO8859-1 ISO8859-1 Base/Euro
es_SV ISO8859-1 ISO8859-1 Base/Euro
es.UTF-8 UTF-8 UTF-8 Base/Euro
es_UY ISO8859-1 ISO8859-1 Base/Euro
et_VE ISO8859-1 ISO8859-1 Base/Euro
et ISO8859-1 ISO8859-1 Base/Euro
fi ISO8859-1 ISO8859-1 Base/Euro
fi.IOO8859-15 ISO8859-15 ISO8859-15 Base/Euro
fr ISO8859-1 ISO8859-1 Base/Euro
fr.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
fr.UTF-8 UTF-8 UTF-8 Base/Euro
fr_BE ISO8859-1 ISO8859-1 Base/Euro
fr_BE.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
fr_CA ISO8859-1 ISO8859-1 Base/Euro
fr_CH ISO8859-1 ISO8859-1 Base/Euro
he ISO8859-8 ISO8859-8 Base/Euro
he_IL ISO8859-8 ISO8859-8 Base/Euro
hr_HR ISO8859-2 ISO8859-2 Base/Euro
hu ISO8859-2 ISO8859-2 Base/Euro
it ISO8859-1 ISO8859-1 Base/Euro
it.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
it.UTF-8 UTF-8 UTF-8 Base/Euro
ja eucJP eucJP Japanese
ja_JP.PCK PCK PCK Japanese
ja_JP.UTF-8 UTF-8 UTF-8 Japanese
ko 5601 ko_KR-euc Korean
ko.UTF-8 UTF-8 UTF-8 Korean
lt ISO8859-4 ISO8859-4 Base/Euro
lv ISO8859-4 ISO8859-4 Base/Euro
mk_MK ISO8859-5 ISO8859-5 Base/Euro
nl ISO8859-1 ISO8859-1 Base/Euro
nl.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
nl_BE ISO8859-1 ISO8859-1 Base/Euro
 nl_BE.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
no ISO8859-1 ISO8859-1 Base/Euro
no_NY ISO8859-1 ISO8859-1 Base/Euro
nr ISO8859-2 ISO8859-2 Base/Euro
pl ISO8859-2 ISO8859-2 Base/Euro
POSIX 646 646 Base/Euro
pt ISO8859-1 ISO8859-1 Base/Euro
pt.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
pt_BR ISO8859-1 ISO8859-1 Base/Euro
ro_RO ISO8859-2 ISO8859-2 Base/Euro
ru ISO8859-5 ISO8859-5 Base/Euro
ru.KOI8-R KOI8-R KOI8-R Base/Euro
sk_SK ISO8859-2 ISO8859-2 Base/Euro
sl_SI ISO8859-2 ISO8859-2 Base/Euro
sq_AL ISO8859-2 ISO8859-2 Base/Euro
sr_SP ISO8859-5 ISO8859-5 Base/Euro
sv ISO8859-1 ISO8859-1 Base/Euro
sv.ISO8859-15 ISO8859-15 ISO8859-15 Base/Euro
sv.UTF-8 UTF-8 UTF-8 Base/Euro
th_TH TIS620.2533 TIS620.2533 Base/Euro
tr ISO8859-9 ISO8859-9 Base/Euro
zh gb2312 gb2312 Simplified Chinese
zh.GBK GBK zh_CN.gbk Simplified Chinese
zh_TW cns11643 zh_TW-euc Traditional Chinese
zh_TW.BIG5 BIG5 zh_TW_Big5 Traditional Chinese


Note -

Locale naming conventions are as follows:

language[_territory][.codeset] where language is from ISO639 and territory is from ISO3166.

All locales with Base/Euro in the Product column are also available as Japanese, Korean, Simplified Chinese, and Traditional Chinese products.

All Solaris product locales preserve the Portable Character Set characters with US-ASCII code values.



Note -

5601 signifies the Korean EUC codeset containing KS C 5636 and KS C 5601-1987.

646 signifies ISO/IEC 646, which is US-ASCII.

eucJP signifies the Japanese EUC codeset. It contains JIS X0201-1976, JIS X0208-1983, and JIS X0212-1990.

gb2312 signifies Simplified Chinese EUC codeset, which contains GV 1988-80 and GB 2312-80.

PCK is also known as Shift JIS (SJIS).

UTF-8 is the UTF-8 of ISO/IEC 10646-1 containing various approved amendments and UNICODE 2.1

GBK signifies GB extensions. This includes all GB 2312-80 characters and all Unified Han characters of ISO/IEC 10646-1, as well as Japanese Hiragana and Katagana characters. It also includes many characters of Chinese, Japanese, and Korean character sets and of ISO/IEC 10646-1.