One source key changes
Smart detection isolates the delta before any provider call.
Tair cyfrinach, pedair llinell, ac mae'ch repo yn amlieithog ar y gwthio nesaf.
Smart detection isolates the delta before any provider call.
Wedi'i adeiladu ar gyfer llongau
Gollyngwch y weithred i'ch CI presennol, pwyntiwch ef at Azure, AWS, neu Google, a gadewch i'ch repo siarad pob iaith rydych chi'n ei dargedu.
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
Mae teithiau crwn .resx, .xliff, .po, .json, .ini, a .restext gyda fformatio beit-sefydlog.
Gollwng ffeil .github/resource-translator.yml ar gyfer cynnwys globs, geirfa, a chategorïau Custom Translator.
Cloi enwau brand a termau cynnyrch gyda regex ffin geiriau craff sy'n trin C++, .NET, a ffrindiau.
Rhagolwg cyfieithiadau heb ysgrifennu ffeiliau, neu wynebu pob gwall fel rhybudd wrth i chi ailadrodd.
summary-title, summary-details, a has-new-translations slot yn uniongyrchol i mewn i create-pull-request.
Dewiswch un darparwr fesul rhediad. Mae pob un yn cael ei yrru gan ei SDK swyddogol (@azure-rest/ai-translation-text, @aws-sdk/client-translate, @google-cloud/translate) gydag ail-geisiadau awtomatig ar 408/429/5xx - dim HTTP wedi'i rolio â llaw. esbuild-bwndelu, archwilio-glân.
Mae Resource Translator yn agor ceisiadau tynnu wedi'u cyfieithu gan beiriant ar gyfer eich ffeiliau adnoddau gan ddefnyddio Azure, AWS, neu Google - un weithred unedig, un darparwr fesul rhedeg, SDKs swyddogol o dan y cwfl.
Dechrau arniname: 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 translationsUn allwedd darparwr - Azure, AWS, neu Google - ac un ffeil llif gwaith. Resource Translator sy'n trin y gweddill.