One source key changes
Smart detection isolates the delta before any provider call.
ความลับสามข้อ สี่บรรทัด และ repo ของคุณมีหลายภาษาในการผลักดันครั้งต่อไป
Smart detection isolates the delta before any provider call.
สร้างขึ้นเพื่อการจัดส่ง
วางการดําเนินการลงใน CI ที่มีอยู่ ชี้ไปที่ Azure, AWS หรือ Google และให้ repo ของคุณพูดทุกภาษาที่คุณกําหนดเป้าหมาย
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
ไป-กลับ .resx, .xliff, .po, .json, .ini และ .restext ด้วยการจัดรูปแบบไบต์ที่เสถียร
วางไฟล์ .github/resource-translator.yml เพื่อรวม globs อภิธานศัพท์ และหมวดหมู่ตัวแปลแบบกําหนดเอง
ล็อคชื่อแบรนด์และข้อกําหนดของผลิตภัณฑ์ด้วยนิพจน์ทั่วไปขอบเขตคําอัจฉริยะที่จัดการกับ C++ .NET และเพื่อน
ดูตัวอย่างการแปลโดยไม่ต้องเขียนไฟล์ หรือแสดงข้อผิดพลาดทั้งหมดเป็นคําเตือนในขณะที่คุณทําซ้ํา
summary-title summary-details และ has-new-translations สล็อตโดยตรงในคําขอสร้างดึง
เลือกผู้ให้บริการหนึ่งรายต่อการเรียกใช้ แต่ละรายการขับเคลื่อนโดย SDK อย่างเป็นทางการ (@azure-rest/ai-translation-text, @aws-sdk/client-translate, @google-cloud/translate) พร้อมการลองใหม่อัตโนมัติบน 408/429/5xx - ไม่มี HTTP ที่ม้วนด้วยมือ esbuild รวม สะอาดตรวจสอบ
Resource Translator เปิดคําขอดึงข้อมูลที่แปลด้วยเครื่องสําหรับไฟล์ทรัพยากรของคุณโดยใช้ Azure, AWS หรือ Google ซึ่งเป็นการดําเนินการแบบครบวงจรหนึ่งรายการ ผู้ให้บริการหนึ่งรายต่อการเรียกใช้ SDK อย่างเป็นทางการภายใต้ประทุน
เริ่มต้นใช้งานname: 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 translationsคีย์ผู้ให้บริการหนึ่งคีย์ - Azure, AWS หรือ Google - และไฟล์เวิร์กโฟลว์หนึ่งไฟล์ Resource Translator จัดการส่วนที่เหลือ