One source key changes
Smart detection isolates the delta before any provider call.
Fakapulipuli ʻe tolu, laine ʻe fa, pea ʻoku multilingual hoʻo repo ʻi he teke hoko.
Smart detection isolates the delta before any provider call.
Langa ki he uta
Tuku ʻa e ngaue ki hoʻo CI lolotonga, tuhu ki he Azure, AWS, pe Google, pea tuku ke lea ʻaki ʻe hoʻo repo ʻa e lea fakafonua kotoa pe ʻoku ke fakataumuʻa ki ai.
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
Ngaahi folau foki ki he .resx, .xliff, .po, .json, .ini, mo e .restext mo e fotunga ʻo e byte-stable.
Tuku ha faile .github/resource-translator.yml ki he ngaahi kulupu ʻo e kau globs, glossaries, mo e Custom Translator.
Lokaʻi ʻa e ngaahi hingoa ʻo e brand mo e ngaahi tuʻunga ʻo e koloa ʻaki ʻa e regex fakangatangata ʻo e lea ʻoku ne tokangaʻi ʻa e C++, .NET, mo e ngaahi kaungameʻa.
Tomuʻa vakaiʻi ʻa e ngaahi liliu ʻo ʻikai tohi ha ngaahi faile, pe ʻasi ʻa e fehalaaki kotoa pe ko ha fakatokanga lolotonga hoʻo toutou tohiʻi.
summary-title, summary-details, mo e has-new-translations ʻoku fakahu fakahangatonu ia ki he create-pull-request.
Fili ha kautaha ʻe taha ʻi he lele takitaha. ʻOku fakalele ʻe heʻene SDK fakaʻofisiale (@azure-rest/ai-translation-text, @aws-sdk/client-translate, @google-cloud/translate) mo e ngaahi feinga fakahangatonu ʻi he 408/429/5xx - ʻikai ha HTTP ʻoku takai nima. esbuild-fakatahatahaʻi, ʻaotita-maʻa.
ʻOku fakaava ʻe he Resource Translator ʻa e ngaahi kole toʻotoʻo kuo liliu fakamisini ki hoʻo ngaahi faile maʻuʻanga tokoni ʻo fakaʻaongaʻi ʻa e Azure, AWS, pe Google - ngaue fakatahataha ʻe taha, kautaha ʻe taha ʻi he lele, SDKs fakaʻofisiale ʻi lalo ʻi he hood.
Kamataname: 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 translationsKo e ki ʻe taha ʻo e kautaha - Azure, AWS, pe Google - mo e faile workflow ʻe taha. ʻOku tokangaʻi ʻe he Resource Translator ʻa e toenga.