An annotation processor that generates the LocaleProvider
used by the emulated java.util.Locale
.
Several options are required to select the default and available locales.
<compilerArgs>
<arg>-Awalkingkooka.j2cl.java.util.Locale=EN-*</arg>
<arg>-Awalkingkooka.j2cl.java.util.Locale.DEFAULT=en-AU</arg>
<arg>-Awalkingkooka.j2cl.locale.Logging=SLASH_SLASH_COMMENTS</arg>
</compilerArgs>
The above selects all English locales along with a default locale of Australian English.
For more details click here
See j2cl-java-util-Locale for a more comprehensive summary.