Java : Setting Locale System Properties

System PropertyDescription
user.language
Two-letter language name code based on ISO 639.
user.region
Two-letter region name code based on ISO 3166.
file.encoding
Default character-encoding name based on the IANA Charset MIB.


ex.
-Duser.country=US -Duser.language=en

Ref: 1.

ดู locale ได้จาก Ref

top