Apple Strings (.strings)
Supported project structure
The Developer CLI assumes a standard project structure in which translation files are named Localizable.strings
and stored in locale-specific folders. For example:
Comments
Comments are supported in the following format. Comments in other formats will be converted accordingly.
Localizable.strings
Variables
While this format supports different types for variables, currently only string variables are supported. Variables defined in Frontitude will be converted into string variables.
Localizable.strings
Plurals
The following key format is used for texts with plurals: <key>_<plural_type>
. For example:
Multiline support
Frontitude uses \n
to handle multiline strings. For example:
Localizable.strings
File encoding
The supported file encoding is UTF-16
, which is recommended by Apple. Please contact us if you require a different encoding.
Last updated
Was this helpful?