I want to set the default Locale for my JVM to fr_CA. What are the possible options to do this?
Locale
fr_CA
I know of only one option Locale.setD
Locale.setD
You can do this:
And to capture locale. You can do this:
private static final String LOCALE = LocaleContextHolder.getLocale().getLanguage() + "-" + LocaleContextHolder.getLocale().getCountry();