1. Help Center
  2. Supported formats

Java Properties

Learn how to manage Java properties format with .properties file extension in Phrase.

File Extensions
.properties
API Extension
properties
Import

Yes
Export

Yes
Pluralization supported?

No
Descriptions supported?

Yes
Format Options
escape_single_quotes, omit_separator_space, crlf_line_terminators, escape_meta_chars

Format Options

Escape single quotes

Identifier
escape_single_quotes  
Type

boolean  
Upload

Yes
Download
Yes
Default
true
Description
Escape single quotes with another single quote (e.g. I'm -> I''m ).

Omit separator space

Identifier
omit_separator_space  
Type

boolean  
Upload

No
Download
Yes
Default
false
Description
Skip the space before and after the separator sign (= ).

CRLF line terminators

Identifier
crlf_line_terminators  
Type

boolean  
Upload

No
Download
Yes
Default
false
Description
Use CRLF (Windows) line terminator chars.

Escape meta chars

Identifier
escape_meta_chars  
Type

boolean
Upload

No
Download
Yes
Default
true
Description
Escape meta characters (! : = # )

Code Samples

boolean_key = --- true\n
empty_string_translation =
# This is the amazing description for this key!
key_with_description = Check it out\! This key has a description\! (At least in some formats)
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)