iso - Which standard/format does Locale class in Java return? -
if have following code snippet , set format in regional settings 2 letters before underscore , 3 letters before underscore. in iso 639-1 have 2 letters can't one?
system.out.println(locale.getdefault());
according java 7 docs:
- language - iso 639 alpha-2 or alpha-3 language code, or registered language subtags 8 alpha letters
- script - iso 15924 alpha-4 script code
- country (region) iso 3166 alpha-2 country code or un m.49 numeric-3 area code.
Comments
Post a Comment