One source key changes
Smart detection isolates the delta before any provider call.
Peb qhov zais cia, plaub kab, thiab koj lub repo yog ntau hom lus ntawm kev thawb tom ntej.
Smart detection isolates the delta before any provider call.
Ua rau kev xa khoom
Tso qhov kev txiav txim rau hauv koj CI uas twb muaj lawm, taw tes rau Azure, AWS lossis Google, thiab cia koj lub repo hais txhua hom lus koj lub hom phiaj.
Default in v3.2
A compact .github/resource-translator-state.json tracks parser keys, source hashes, and translation-affecting settings. The action skips stable keys, preserves manual target edits, and logs every decision with rule codes. Use snapshotOnly to bootstrap existing translations without a provider call.
Most runs translate only the changed keys
Round-trips .resx, .xliff, .po, .json, .ini thiab .restext nrog byte-ruaj khov formatting.
Poob ib .github/resource-translator.yml ntaub ntawv rau xws li globs, glossaries, thiab Custom Translator pawg.
Xauv cov npe lag luam thiab cov ntsiab lus khoom lag luam nrog ntse lo lus-ciam teb regex uas tuav C++, .NET thiab phooj ywg.
Saib ua ntej translations tsis sau cov ntaub ntawv, los yog nto txhua qhov yuam kev raws li ib tug ceeb toom thaum koj iterate.
summary-title, summary-details thiab has-new-translations qhov ncaj qha rau hauv tsim-rub-thov.
Xaiv ib tus neeg zov me nyuam ib qho kev khiav. Txhua tus yog tsav los ntawm nws cov nom SDK (@azure-rest/ai-translation-text, @aws-sdk/client-translate, @google-cloud/translate) nrog tsis siv neeg rov sim ntawm 408/429/5xx - tsis muaj tes-dov HTTP. esbuild-bundled, audit-huv.
Resource Translator qhib lub tshuab-txhais rub thov rau koj cov ntaub ntawv peev txheej siv Azure, AWS lossis Google - ib qho kev sib koom ua ke, ib tus neeg muab kev pabcuam ib qho khiav, SDKs raug cai hauv qab lub hood.
Pibname: translateon: push: 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 provider: | azure: subscriptionKey: ${{ secrets.KEY }} endpoint: ${{ secrets.ENDPOINT }} region: ${{ secrets.REGION }} toLocales: '["fr","de","es","ja"]'
- uses: peter-evans/create-pull-request@v7 with: title: Update translationsIb tus neeg muab kev pabcuam tus yuam sij - Azure, AWS lossis Google - thiab ib qho ntaub ntawv workflow. Resource Translator tuav tus so.