• Documentation
  • File formats
  • Apple strings

Apple strings

  • Associated file extensions: .strings
  • i18n type: STRINGS
  • Encoding: UTF-16

.strings files are used for localizing macOS and iOS apps.

When you download a .strings from Transifex for use, the file will contain all entries. However, in case there are untranslated entries, those will be filled in with the corresponding source string.

When you download a .strings file for translation, any untranslated entries will be filled in with their corresponding source strings, but they'll be commented out to make it easier for translators to see them.

/* Insert Element menu item */
"Insert Element" = "Insert Element";

/* Error string used for unknown error types. */
"ErrorString_1" = "An unknown error occurred.";

Lin

Lin is a useful helper tool that offers auto-completion in XCode for NSLocalizedString. Check out the Lin website and the GitHub repo.