Skip to content

Instantly share code, notes, and snippets.

@maerzbow
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maerzbow/267796013e203d8341e3 to your computer and use it in GitHub Desktop.
Save maerzbow/267796013e203d8341e3 to your computer and use it in GitHub Desktop.
LingoHub Java properties
# this comment will be interpreted as header comment
# the value can continue to the next line if the previous line ends with a backslash
welcome_message = Welcome back, \
we have missed you
# multi line comments belong to the next key value pair
# as long as they are not interrupted by a white line
visit_count = this is your {visit} visit to our site
! comments in .properties files can start with exclamation mark
hello_user = Hello {username}
escaped_newline = a newline can be escaped \n by using backslash n
charset.escaped.u=actually german\\: muss gr\\u00F6sser gleich {value} sein
double_quoted="Using double quotes"
single_quotes='Using single quotes"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment