Skip to content

Remove stale outdated game language template scripts#1328

Open
dgruss wants to merge 1 commit into
UltraStar-Deluxe:masterfrom
dgruss:languagetemplate
Open

Remove stale outdated game language template scripts#1328
dgruss wants to merge 1 commit into
UltraStar-Deluxe:masterfrom
dgruss:languagetemplate

Conversation

@dgruss
Copy link
Copy Markdown
Contributor

@dgruss dgruss commented May 26, 2026

This PR:

  • removes the outdated game/languages/Language.new
  • remove the unused game language maintenance scripts:
    • game/languages/update.py
    • game/languages/convert.sh
  • Update game/languages/README.md to document English.ini as the translation template

Reasoning

Language.new is an outdated duplicate of the English translation file. Keeping it requires developers to remember to update two translation templates, and when that does not happen translators can start from stale or incomplete strings.

English.ini is already the canonical source for game translation keys and fallback text, so using it directly as the template removes that synchronization problem. This makes the translation workflow simpler: copy English.ini, rename it to the target language, translate values, and keep the same keys.

The removed update.py script was part of the old Language.new workflow and is not documented as a reliable maintenance step. Besides lacking documentation, the behavior was also unintuitive. Since it can rewrite translation files, keeping it around makes the process look supported even though the intended path is now English.ini.

The removed convert.sh script was only tied to legacy language-file conversion and it was not clear when or by whom it should be used. Removing it avoids leaving another stale maintenance path beside the deleted template/update script.

Fixes #524.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Language.new is old

1 participant