1. Help Center
  2. Supported formats

INI

Everything you need to know about the INI localization file format and how Phrase can help you to handle it.

File Extensions .ini
API Extension ini
Import Yes
Export Yes
Pluralization supported? No
Descriptions supported? No


INI files are widely used in applications on various platforms. Although INI files do not have a forming convention as stringent as that of other file formats, such as XML and JSON, most INI files consist of several key-value pairs separated by a “=”. Phrase has a built-in filter that helps you streamline translation and localization of INI files. 

Code Sample

boolean_key = --- true\n
empty_string_translation =
key_with_description = Check it out! This key has a description! (At least in some formats)
null_translation =  
pluralized_key.one = Only one kitten found.
pluralized_key.other = Wow, you have %s kittens!
pluralized_key.zero = You have no kittens.
sample_collection = ---\n- first item\n- second item\n- third item\n
simple_key = Simple key, simple message, so simple.
unverified_key = This translation is not yet verified and waits for it. (In some formats we also export this status)

[key_with_line\-break]
key_with_line-break = This translations contains\na line-break.

[nested]
deeply.key = Wow, this key is nested even deeper.
key = This key is nested inside a namespace.