Locale
Instantiation
Constructor
Locale locale;
locale = new Locale("fr", "CA");Builder
Locale locale;
locale = new Locale.Builder().setLanguage("fr").setRegion("CA").build();Tag
Tags conforming to the IETF BCP 47 standard can be used.
Locale locale;
locale = Locale.forLanguageTag("fr-CA");Constant
Locale locale;
locale = Locale.CANADA_FRENCH;Last updated
Was this helpful?