Create readme-translator.yml

This commit is contained in:
Zhe Fang
2025-07-30 17:29:00 -04:00
committed by GitHub
parent 537584e557
commit cb76341666

33
.github/workflows/readme-translator.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Translate README
on:
push:
branches:
- dev
- stable
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
# ISO Language Codes: https://cloud.google.com/translate/docs/languages
- name: Adding README - Chinese Simplified
uses: dephraiim/translate-readme@main
with:
LANG: zh-CN
- name: Adding README - Chinese Traditional
uses: dephraiim/translate-readme@main
with:
LANG: zh-TW
- name: Adding README - Japanese
uses: dephraiim/translate-readme@main
with:
LANG: ja
- name: Adding README - Korean
uses: dephraiim/translate-readme@main
with:
LANG: ko