Change default language to en-US and add US language (#6621)

This commit is contained in:
Anthony Stirling
2026-06-11 20:36:23 +01:00
committed by GitHub
parent 88adb7adad
commit 946c032fb5
41 changed files with 8578 additions and 188 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ A script to update language progress status in README.md based on
frontend locale TOML file comparisons.
This script compares the default (reference) TOML file,
`frontend/editor/public/locales/en-GB/translation.toml`, with other translation
`frontend/editor/public/locales/en-US/translation.toml`, with other translation
files in `frontend/editor/public/locales/*/translation.toml`.
It determines how many keys are fully translated and automatically updates
progress badges in the `README.md`.
@@ -346,7 +346,7 @@ def main() -> None:
# Project layout assumptions
cwd = os.getcwd()
locales_dir = os.path.join(cwd, "frontend", "editor", "public", "locales")
reference_file = os.path.join(locales_dir, "en-GB", "translation.toml")
reference_file = os.path.join(locales_dir, "en-US", "translation.toml")
scripts_directory = os.path.join(cwd, "scripts")
translation_state_file = os.path.join(scripts_directory, "ignore_translation.toml")