Differences
This shows you the differences between two versions of the page.
library:lang:example:standalone [2020/09/14 19:59] – created phoenix616 | library:lang:example:standalone [2021/06/16 11:44] (current) – [Example] Fix syntax highlighting phoenix616 | ||
---|---|---|---|
Line 32: | Line 32: | ||
# This provider will use the system locale for all users | # This provider will use the system locale for all users | ||
lang.setProvider(user -> Locale.getDefault().getLanguage()); | lang.setProvider(user -> Locale.getDefault().getLanguage()); | ||
- | # If you don' | + | # If you do not set a provider then it will use the default locale. |
} | } | ||
| |