All help labels disappear in automation plugin for English (UK)

AI-generated summary

Users reported that help labels vanish in the automation plugin when the interface language is set to “English (UK)”. RGJ demonstrated the issue, noting it occurs upon switching to UK English and refreshing. Juan_David_Martínez investigated and found the UK locale file is mostly empty, assuming fallback to English (US) would suffice. Moin confirmed this behavior also affects other partially translated locales like Vietnamese, and noted that fallbacks typically handle missing translations unless regional differences (e.g., spelling or date format) require explicit entries. RGJ agreed the fallback should apply, echoing Moin’s point. Juan_David_Martínez acknowledged the oversight and worked on a fix, which was later merged in PR #36497 9. RGJ expressed appreciation for the resolution, noting the complexity of the issue. The bug was ultimately resolved by ensuring proper fallback behavior for incomplete locale files, restoring help labels across affected languages.

When using the automation plugin, I found that there were no help labels to be seen.
After some sleuthing I found that this was caused by the fact that my user interface language was set to “English (UK)”.

Watch and see how they disappear when I switch language and refresh.

Version Discourse 2025.12.0-latest 540dc392cd9f83dc7d561147a4baf050220d065f

4 Likes

Hi @RGJ,

I am taking a look at this, I have noticed the locales file for the UK is mostly empty I will be talking to the team to address this issue

5 Likes

Usually, when a translation is missing in the locale file, there is a fallback to English (US).

I think the UK locale file is mostly empty because the fallback is everything they need, apart from the texts where the date format, wording, or spelling differs.

The bug reported by RGJ also happens in other locales where those texts are not fully translated, Vietnamese for example.

3 Likes

Shouldn’t it fall back to English US ?

EDIT @moin beat me to it :grinning_face:

3 Likes

Yeah, this is a TIL about locales on Discourse :sweat_smile:, I am already looking into why this isn’t happening

3 Likes

Hi @RGJ,

The fix has been merged here, let me know if there are any other issues.

2 Likes

Wow, that was quite complicated. Thanks :slight_smile:

1 Like