Localize your repo on Komipesa nyonso.
Resource Translator opens machine-translated pull requests for your resource files using Azure AI Translator via the official SDK — no extra services, just a workflow.
- 0 NPM-Audit Questions
- 150 tests
- Node 20 / 22 / 24
- SDK officiel Azure
.NET XML .xliff XLIFF 2.0 .po Kozwa texte .json koteswara to nandikeshwara .ini key=value .restext Texte ya MUI Etongami mpo na masuwa
Kobongola ezali mosala ya mosala, kasi ya kolela te.
Bwaka action na CI na yo ya sika, lakisa yango na Azure AI Translator, mpe tika repo na yo eloba minoko nyonso oyo ozali koluka.
Lolenge motoba ya fichier
Mibembo ya kozonga-zonga .resx, .xliff, .po, .json, .ini, mpe .restext na formatage stable ya octets.
Config ya niveau ya repo
Drop a .github/resource-translator.yml file for include globs, glossaries, and Custom Translator categories.
Glossaire
Kanga bankombo ya bilembo mpe maloba ya produit na regex ya maloba ya smart oyo esimbaka C++, .NET, mpe baninga.
Dry-run + soft-fail
Preview translations without writing files, or surface every error as a warning while you iterate.
Ba résultats ya PR
summary-title, summary-details, mpe has-new-translations ekɔtaka mbala moko na lisengi ya bozalisi.
SDK officiel Azure
Etongami na @azure-rest/ai-translation-text + @azure/core-rest-pipeline — ba retries automatiques na 408/429/5xx, HTTP oyo esalemi na maboko te. esbuild-bundled, audit-clean.
Mosala ya kokita
Copie. Coller. Kobongola.
Sekele misato, milongo minei, mpe repo na yo ezali na minoko ebele na push oyo elandi.
name: translateon: push: branches: [main] paths: ["**/*.en.resx", "**/*.en.json"]
permissions: contents: write pull-requests: write
jobs: translate: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - id: translator uses: IEvangelist/resource-translator@v3 with: sourceLocale: en subscriptionKey: ${{ secrets.TRANSLATOR_KEY }} endpoint: ${{ secrets.TRANSLATOR_ENDPOINT }} region: ${{ secrets.TRANSLATOR_REGION }} toLocales: '["fr","de","es","ja"]'
- if: steps.translator.outputs.has-new-translations == 'true' uses: peter-evans/create-pull-request@v7 with: branch: machine-translation title: ${{ steps.translator.outputs.summary-title }} body: ${{ steps.translator.outputs.summary-details }} labels: localizationKomibongisa mpo na localisation na pilote automatique?
One Azure AI Translator key, one workflow file. Mobongoli ya ressource alandelaka makambo oyo etikali.