Skip to content
@i18n-actions

i18n-actions

Automated i18n translation for GitHub workflows, powered by LLMs.

Translate your app's localization files on every push. Drop in a GitHub Action, point it at your translation files, and get pull-ready translations in seconds — not days.

- uses: i18n-actions/ai-i18n@v0.5
  with:
    provider: anthropic
    api-key: ${{ secrets.ANTHROPIC_API_KEY }}
    target-languages: de,fr,es,ja
    files: 'src/locales/**/*.xliff'

Highlights

  • Multiple providers — Anthropic Claude, OpenAI, or self-hosted Ollama
  • XLIFF + JSON — XLIFF 1.2/2.0 with full inline element preservation, flat and nested JSON
  • Smart diffing — content hashing ensures only new/modified strings hit the API
  • ICU-aware — CLDR plural rules for 20+ languages, auto-generates correct plural forms
  • Placeholder safe<x id="PH"/>, {{variables}}, and ICU patterns survive the round-trip
  • Zero config — auto-detects file format, batches requests, handles rate limits and retries

Get started

See the full docs and configuration reference in ai-i18n.

Popular repositories Loading

  1. ai-i18n ai-i18n Public

    ai-i18n is a GitHub Action that translates your app's i18n files using LLMs. It extracts strings, translates only what's changed, and commits the results back to your repo. Works with your LLM prov…

    TypeScript 16 4

  2. .github .github Public

    Organization profile

Repositories

Showing 2 of 2 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…