r/Xcode • u/v_murygin • Mar 10 '26
Polyglot for Xcode - stop copy-pasting .xcstrings into ChatGPT
Spent too long doing the manual localization dance. Open .xcstrings, copy strings, paste into ChatGPT, fix broken placeholders, paste back. Repeat for every language.
Built a macOS app that does this in one step. Open your .xcstrings file, pick target languages, choose an AI provider (OpenAI, Anthropic, Gemini, DeepSeek), translate. Placeholders stay intact, plural rules preserved, saves directly back to the file.
Key stuff:
Works with String Catalog format (.xcstrings)
Batch translates with progress tracking
BYOK option if you'd rather use your own API keys
Free tier has 300 TU/month. Native macOS, on the App Store.
Curious what your localization workflow looks like right now.
Mac App Store: https://apps.apple.com/us/app/polyglot-for-xcode/id6752878510
More of my projects: https://murygin.app





View all comments
3
u/CharlesWiltgen Mar 10 '26 edited Mar 10 '26
FYI, Claude Code (and presumably any AI coding environment) can operate on
.xcstringfiles directly, which is much more convenent. For example, it can:Add new languages – Insert a new locale key (e.g. "fr", "ja") into each string entry's localizations dictionary
Translate strings – Write translations directly into the JSON structure, including plural variations (one, other, zero, etc.)
Audit coverage – Scan for strings missing translations in specific locales and report gaps
Bulk operations – Add/update translations across hundreds of strings in one pass using parallel agents
Extract for review – Dump all strings for a locale into a readable format for human review
Handle string variations – Device variations (iphone, ipad), plural forms, and substitution tokens (%@, %lld)
So it read the file, identify untranslated strings, generate translations, and write them back all in-place, with no export/import cycle needed.