Koozali.org: home of the SME Server

Missing English fallback for contrib translations in Danish smanager

Offline beast

  • *
  • 267
  • +0/-0
Hi

Environment: SME Server 11.0, smeserver-manager 11.0.0-266.el8.sme, Danish browser language. Contribs installed after restoring an SME10 backup.

Problem: Webhosting and E-mail WBL display translation keys such as wh_FORM_TITLE and wbl_FORM_TITLE instead of readable labels. General interface texts remain translated.

Reproduction: Open smanager with Danish selected by the browser, then open Webhosting or E-mail WBL.

Expected: Where Danish translations are unavailable, display the corresponding English text.

Findings: Both contribs have generated en.pm files containing the correct keys, but neither has a da.pm file. RPM verification of smeserver-webhosting reports no discrepancies. Running the Webhosting update event and smanager-refresh did not resolve the issue.

Suspected cause: In SrvMngr/Plugin/I18N.pm, the loader creates a placeholder language class with _AUTO => 1 when a translation is missing. This appears to return untranslated keys rather than fall back to the contrib’s English lexicon.

/Benny

Offline bunkobugsy

  • *
  • 359
  • +4/-0
Re: Missing English fallback for contrib translations in Danish smanager
« Reply #1 on: October 24, 2026, 08:24:41 AM »
Please open a detailed bug for each, thank you.

Offline brianr

  • *
  • 1,000
  • +2/-0
Re: Missing English fallback for contrib translations in Danish smanager
« Reply #2 on: October 27, 2026, 11:53:49 AM »
I've bugged this:

https://bugs.koozali.org/show_bug.cgi?id=13806

Note that This is bugged against SM2 and not the relevant Contribs because I see it as a central bug, any contrib (or core_ package not supplied with a specific translation for a specific language _should_ default to english, rather than displaying the lexical_id.

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline brianr

  • *
  • 1,000
  • +2/-0
Re: Missing English fallback for contrib translations in Danish smanager
« Reply #3 on: November 04, 2026, 02:16:44 PM »
Note, this is now RESOLVED (it just needs verifying), please @beast, could you check it out?

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........