ia.Locale Class
Adds locale-specific formatting for numbers, dates etc.
Constructor
ia.Locale
(
-
language
Parameters:
-
language
StringThe language code - currently one of "en (English);de (Deutsch);es (español); fr (français);it (italiano);nl (Nederlands);be ;bg ;ca (català);cs (ceština);da (dansk);el ;et (Eesti); fi (suomi);hr (hrvatski);hu (magyar);is (íslenska);lt (Lietuviu);lv (Latviešu);mk ;no (norsk);pl (polski); pt (português);ro (româna);ru ;sk (Slovencina);sl (Slovenšcina);sq (shqipe);sr ;sv (svenska);tr (Türkçe); uk ;none".
Methods
getLanguage
()
String
Get the language of this locale as an ISO code.
Returns:
String:
The language.
setLanguage
(
-
l
Set the language of this locale as an ISO code.
Parameters:
-
l
StringThe language.