mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-30 14:56:11 +00:00
feat(i18n): machine-translate every pull request, one runner per language
A pull request against main extracts the core and docs domains, fans out over the languages LibreTranslate supports, and opens one translation PR per language against the branch that introduced the strings. Only the entries a catalog leaves empty or fuzzy reach the translator. The job matrix and the translator read the same list through translatable(), so a code cannot enter the matrix and then be refused by the run it starts. The pipeline stays off until CI_ENABLE_AUTO_TRANSLATIONS is set, and pull requests from a fork are skipped because the app token cannot push to their head branch. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
48525c9c74
commit
87213cc561
11 files changed
+232
-9
No files matched your search
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
PYTHON=python3 bash "${SCRIPT_DIR}/../../install/python.sh" dev
|
||||
Reference in new issue
Block a user