Java Properties

Java properties files with .properties file extension.

File Extensions .properties
API Extension properties
Format Options escape_single_quotes, omit_separator_space, crlf_line_terminators
Import Yes
Export Yes
Pluralization supported? No
Descriptions/Comments supported? Yes

Example

# This is the amazing comment for this commented key!
commented_key = Check it out\! This key has a comment\! (At least in some formats)
empty_string_translation = 
key_with_line-break = This translations contains\na line-break.
nested.deeply.key = Wow, this key is nested even deeper.
nested.key = This key is nested inside a namespace.
null_translation = 
pluralized_key.one = Only one pluralization found.
pluralized_key.other = Wow, you have %s pluralizations\!
pluralized_key.zero = You have no pluralization.
sample_collection = ---\n- first item\n- second item\n- third item\n
simple_key = Just a simple key with a simple message.
unverified_key = This translation is not yet verified and waits for it. (In some formats we also export this status)

Format Options

Option Type Upload Download Default Description
escape_single_quotes boolean check check true Escape single quotes with another single quote (e.g. I'm to I''m).
omit_separator_space boolean close check false Skip the space before and after the separator sign (=).
crlf_line_terminators boolean close check false Use CRLF (Windows) line terminator chars.