Logánaigh d'ionadaí ar gach tiomantas.
Osclaíonn Resource Translator iarratais tarraingthe meaisín-aistrithe do do chomhaid acmhainní ag baint úsáide as Azure AI Translator tríd an SDK oifigiúil - gan aon seirbhísí breise, ach sreabhadh oibre.
- 0 npm-saincheisteanna iniúchóireachta
- 150 tástáil
- Nód 20 / 22 / 24
- Oifigiúil Azure SDK
.NET XML .xliff XLIFF 2.0 .po gettext .json neadaithe nó cothrom .ini key=value .restext Téacs MUI Tógtha le haghaidh loingseoireachta
Aistriúchán mar shreabhadh oibre, ní mar chúram.
Buail an gníomh isteach i do CI atá ann cheana, dírigh é ar Azure AI Translator, agus lig do do repo gach teanga a dhíríonn tú orthu a labhairt.
Sé fhormáid comhaid
Round-trips .resx, .xliff, .po, .json, .ini, and .restext with byte-stable formatting.
Cumraíocht leibhéal reatha
Buail comhad .github/resource-translator.yml le haghaidh catagóirí globs, gluaiseanna, agus Aistritheoir Saincheaptha.
Gluais
Cuir ainmneacha branda agus téarmaí táirge faoi ghlas le regex cliste a láimhseálann C++, .NET, agus cairde.
Rith tirim + bog-teip
Réamhamharc ar aistriúcháin gan comhaid a scríobh, nó gach earráid a dhromchla mar rabhadh agus tú ag athrá.
Aschuir PR-chairdiúla
summary-title, summary-details, agus has-new-translations sliotán go díreach isteach create-pull-request.
Oifigiúil Azure SDK
Tógtha ar @azure-rest/ai-translation-text + @azure/core-rest-pipeline - athiarrachtaí uathoibríocha ar 408/429/5xx, gan aon HTTP lámh-rollta. esbuild-bundled, iniúchadh-glan.
Sreabhadh oibre buail isteach
Cóipeáil. Greamaigh. Aistrigh.
Trí rúin, ceithre líne, agus tá do repo ilteangach ar an gcéad bhrú eile.
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: localizationRéidh le logánú ar uathphíolóta?
Eochair Aistritheoir Azure AI amháin, comhad sreabhadh oibre amháin. Láimhseálann Resource Translator an chuid eile.