File description

Properties are configuration values managed as key/value pairs. In each pair, the key and value are both String values. The key identifies, and is used to retrieve, the value, much as a variable name is used to retrieve the variable's value.

Good to know

  • Context, reference and plurals are not supported
  • Comments are marked with "#"
  • Letters outside the English alphabet must NOT be coded (in contrast to JSON files)


Oracle's official Java Tutorials:
How to prepare a .properties file for localization:

Sample file

View Download
# Please don't change the name of the application = TODO List
# Fuzzy
app.login.text = Enter your credentials below to login
app.login.message.success = Login successful \!\nWelcome back %s \!
app.login.message.error = Make sure you've entered the correct username and password
app.login.password.forget = I forgot my password
app.login.password.reset = Enter your address in the field below. A new password will be sent to your inbox.
app.register.text = Sign up for free\! No credit card required\!
app.register.message.success = Thank you for signing up \!\nPlease check your email address to activate your account.
app.register.message.error = We were unable to sign you up.\nPlease correct the marked fields. = Terms and conditions
# form_label
app.login.text = Username = Just one user online
# form_label
app.login.pass = Password

See also: