Translation files for the WebdriverIO documentation, including a script that pulls the latest docs from the main repository and runs through a Large Language Model (LLM) to translate them.
After cloning this repository, create a .env
file with the following secret keys required for pulling the source translation and translating them:
ANTHROPIC_API_KEY=...
GITHUB_TOKEN=...
Then kick off the translation script:
npm start
Note: the script is caching the translations per language, running it without cache may cost you a lot of LLM usage.
As noted in constants.ts
, we currently translate into the following languages:
- 🇸🇦 Arabic
- 🇩🇪 German
- 🇪🇸 Spanish
- 🇮🇷 Persian
- 🇫🇷 French
- 🇮🇳 Hindi
- 🇮🇹 Italian
- 🇯🇵 Japanese
- 🇵🇱 Polish
- 🇵🇹 Portuguese
- 🇷🇺 Russian
- 🇸🇪 Swedish
- 🇮🇳 Tamil
- 🇺🇦 Ukrainian
- 🇨🇳 Chinese!
- 🇻🇳 Vietnamese
- KO Korean
If you like your language supported as well, please raise a PR and add it to constants.ts
.