Apple Strings (.strings)

Updated 4 months ago ​by Nick Ustinov

The standard strings file format consists of one or more key-value pairs along with optional comments. The key and value in a given pair are strings of text enclosed in double quotation marks, separated by an equal sign, and terminated by a semicolon. 

Sample data

/* Our app name */
"AppName" = "Lokalise";
/* User login dialog */
"EnterUsername" = "Enter your username";

Multiline support

We support two ways of handling multiline strings:

1. Escaping new lines using "\n".

"AppName" = "Lokalise\nis here";
"EnterUsername" = "Enter\nyour\nusername";

2. Using backslash (\) at end of each line.

"AppName" = "Lokalise\
is here";
"EnterUsername" = "Enter\

Learn more

Getting started with iOS localization
Integrating Lokalise iOS SDK

How did we do