Skip to content
This repository was archived by the owner on Oct 16, 2026. It is now read-only.

fix: Add missing Help menu translations - #107

Merged
tvdeyen merged 1 commit into
mainfrom
add-help-menu-german
Sep 2, 2026
Merged

tvdeyen merged 1 commit into
mainfrom
add-help-menu-german

Conversation

@tvdeyen

@tvdeyen tvdeyen commented Sep 2, 2026

Copy link
Copy Markdown
Member

The left menu's Help entry and its dialog title are rendered via Alchemy.t("Help") and Alchemy.t("AlchemyCMS Help"). Neither key exists in Alchemy's EN locale, so both fall back to Alchemy::I18n's humanized default. That makes English look correct and hides the gap from the usual "missing keys" check, while every locale that never defined the keys silently renders them in English. Only zh-CN had them, so the Help menu item and its dialog title were untranslated in all eight other locales.

Each translation reuses the word that locale already uses in its own help.shortcuts."Open help window" entry, so the Help dialog and the menu entry that opens it stay consistent.

Two related gaps are deliberately left out of this PR: Alchemy.t(:close) is undefined everywhere but zh-CN (and in the EN locale too), and ru is still missing the whole help.resources / help.resource_links section.

The left menu's Help entry and its dialog title are rendered via
Alchemy.t("Help") and Alchemy.t("AlchemyCMS Help"). Neither key exists in
Alchemy's EN locale, so they rely on Alchemy::I18n's humanize fallback,
which makes English look correct while silently leaking English into every
locale that never defined them. Only zh-CN had both, so all other locales
showed an untranslated Help menu item and dialog title. Each translation
follows the wording that locale already uses in help.shortcuts.
@tvdeyen tvdeyen added this to the 8.4 milestone Sep 2, 2026
@tvdeyen
tvdeyen enabled auto-merge September 2, 2026 05:51
@tvdeyen
tvdeyen disabled auto-merge September 2, 2026 05:52
@tvdeyen
tvdeyen enabled auto-merge September 2, 2026 05:52
@tvdeyen
tvdeyen merged commit 40fab6b into main Sep 2, 2026
@tvdeyen
tvdeyen deleted the add-help-menu-german branch September 2, 2026 08:07
@alchemycms-bot alchemycms-bot Bot mentioned this pull request Oct 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants