Java - general

Locale, language, land

java.util.Locale
The information of language and land are summarized into the class locale.


Locale german = new Locale( "de", "DE" );   // German, Germany
Locale french = new Locale( "fr" );         // French, land does not mind

The language is defined by a two alphabetic-abbreviation after ISO 639 (minuscules).
The land is defined by a two alphabetic-abbreviation after ISO 3166 (capital letter).


Eigene Werkzeuge
Werkzeuge

gratis Counter by GOWEB
seit 9.10.2007