NeoIQ Localize

iOS

NeoIQ Localize supports iOS Localizable.strings files, the standard localization format for iOS applications. This format handles basic key-value string pairs and supports comments for providing context to translators.


Setting Up

First, make sure you've got a neoiq-localize.json config file in your project root. Here's an example:

{
  "locale": {
    "source": "en",
    "targets": ["sv", "de", "fr"]
  },
  "files": {
    "ios": {
      "include": ["[locale].lproj/Localizable.strings"]
    }
  }
}

Translating

With your config set, run:

npx @neoiq/localize@latest translate

When you run this command, NeoIQ Localize will:

  • Load your source Localizable.strings file (e.g., en.lproj/Localizable.strings)
  • Detect any new or modified translation strings
  • Generate translations for your target languages
  • Create or update the target language files (e.g., sv.lproj/Localizable.strings)
  • Preserve any existing comments and formatting

How is this guide?

Edit on GitHub

Last updated on

On this page