Translate

Translate iOS .strings files

A .strings file is a list of "key" = "value"; lines where the value holds format specifiers like %@. KAERIS translates the values and checks that every specifier is still there.

How a .strings file is built

One "key" = "value"; per line, notes in /* … */. Values escape quotes and line breaks with a backslash. Plurals do not live here: Xcode uses .stringsdict or a String Catalog for them, and KAERIS reads .strings and .xcstrings.

Source fileLocalizable.strings
/* Greeting on the home screen */
"welcome" = "Welcome back, %@!";
"items_count" = "%1$d of %2$d items synced";
"quote" = "Press \"Done\" to continue.";

What to watch for in .strings translations

A real run: translated to German and checked

A real run, 27 October 2026, nothing edited by hand: kaeris translate Localizable.strings --langs de with kaeris 0.2.35, 4 seconds, model openai/gpt-4.1-mini (the service's fallback model answered this job). Below, the German file it wrote and what kaeris check says about it.

German resultde/Localizable.strings
/* de */
"welcome" = "Willkommen zurück, %@!";
"items_count" = "%1$d von %2$d Elementen synchronisiert";
"quote" = "Drücken Sie \"Fertig\", um fortzufahren.";
kaeris checkexit code 0
$ kaeris check --source Localizable.strings --langs de
✓ de: complete & placeholder-safe
✓ all locales complete & placeholder-safe

What KAERIS does with it

Run it in three steps

  1. Install the CLI

    Run pip install kaeris.

  2. Translate the file

    Run kaeris translate en.lproj/Localizable.strings --langs de,ja.

  3. Check the result

    Upload the source and the translation on the free check page.

pip install kaeris
kaeris translate en.lproj/Localizable.strings --langs de,ja --verify

Questions

Does it keep %@ and %1$d?

Yes. Specifiers are compared with the source after translation and a lost or changed one is flagged. In the real run above %@, %1$d and %2$d all came back.

What about plurals?

.strings has no plural syntax. Xcode keeps plurals in .stringsdict or in a String Catalog; KAERIS reads the catalog and expands plurals per language, see the .xcstrings page.

Is it free?

Yes, without an account: 10,000 characters per file and up to 8 languages per run. A free API key raises the file limit to 50,000 characters. Lifetime is $79 once, on your own OpenRouter key; monthly plans start at $19. Pricing

Can I run it from the terminal or in CI?

Yes. pip install kaeris, then kaeris translate en.lproj/Localizable.strings --langs de,ja. See also iOS. The GitHub Action runs the same translation in a pull request. CLI docs · GitHub Action

Keep going

CLI reference · Check reference · Translate in the browser · Free check · Convert formats · Pseudo-localization

Other formats: JSON · YAML · .po · ARB · XLIFF · .xcstrings · .properties · .resx · CSV · Markdown · Fluent · Android XML

Framework guides: react-i18next · next-intl · vue-i18n · Flutter · iOS · Android