freshcrate
Skin:/
Home > Developer Tools > AITranslate

AITranslate

A tool to translate Xcode xcstrings files using ChatGPT AI/LLM

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

Description

A tool to translate Xcode xcstrings files using ChatGPT AI/LLM

README

AI Translate

This is a small, simple, utility that parses an Xcode .xcstrings file, asks ChatGPT to translate each entry, and then saves the results back in the xcstrings JSON format.

This tool is hardcoded to use GPT-5 mini. Selecting a model via a command-line flag has been deliberately omitted to ensure this tool does not contribute to a proliferation of poor translations in apps on Apple platforms.

Please note that is very strongly recommended to have translations tested by a qualified human as even frontier models will almost certainly not produce perfect results.

Missing Features

This tool supports all the features that I currently use personally, which are not all of the features supported by xcstrings (for example, I have not tested plural strings, or strings that vary by device). Pull requests are welcome to add those missing features.

Usage

Simply pull this repo, then run the following command from the repo root folder:

swift run ai-translate /path/to/your/Localizable.xcstrings -o <your-openai-API-key> -v -l de,es,fr,he,it,ru,hi,en-GB

Help output:

  USAGE: ai-translate <input-file> --languages <languages> --open-ai-key <open-ai-key> [--verbose] [--skip-backup] [--force] [--match-xcode-ordering] [--no-tui]

  ARGUMENTS:
    <input-file>

  OPTIONS:
    -l, --languages <languages> A comma separated list of language codes (must match the language codes used by xcstrings)
    -o, --open-ai-key <open-ai-key>
                            Your OpenAI API key, see: https://platform.openai.com/api-keys
    -v, --verbose
    -s, --skip-backup       By default a backup of the input will be created. When this flag is provided, the backup is skipped.
    -f, --force             Forces all strings to be translated, even if an existing translation is present.
    --match-xcode-ordering  Sort JSON keys to match Xcode's xcstrings ordering.
    --no-tui                Disable the rich terminal UI and use simple text output instead.
    -h, --help              Show help information.

Release History

VersionChangesUrgencyDate
0.0.0No release found — using repo HEADMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchMedium3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026
main@2026-03-30Latest activity on main branchLow3/30/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

awesome-claude-code-resourcesđŸ”Ĩ Discover essential Claude Code resources for better development practices and enhanced project outcomes. Join us in optimizing your coding journey!main@2026-06-07
CodexSkillManager🛠 Manage Codex and Claude Code skills on macOS with this SwiftUI app. Browse, import, and delete skills effortlessly while viewing detailed info.main@2026-06-07
che-apple-mail-mcp📧 Unlock Apple Mail's potential with 42 powerful tools for full scripting control, enabling advanced mailbox and email management.main@2026-06-07
system_prompts_leaksExtracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), Gemini (3.1 Pro, 3 Flash, CLI), Grok (4.2, 4), Perplexity, and more. Updated regularly.main@2026-06-07
pddPrompt Driven Development Command Line Interfacev0.0.264

More in Developer Tools

system_prompts_leaksExtracted system prompts from ChatGPT (GPT-5.4, GPT-5.3, Codex), Claude (Opus 4.6, Sonnet 4.6, Claude Code), Gemini (3.1 Pro, 3 Flash, CLI), Grok (4.2, 4), Perplexity, and more. Updated regularly.
pipThe PyPA recommended tool for installing Python packages.
anthropicThe official Python library for the anthropic API
openinference-instrumentationOpenInference instrumentation utilities