The discussion revolves around the issue of theme translation overrides only applying to the administrator’s language. Don initially reports the problem, providing screenshots and examples of the issue, and JammyDodger suggests it could be a bug. David explains that overrides only apply to the language being used when edits are made and don’t carry across to other languages, which is a known limitation. Moin mentions that this issue may have been addressed in a GitHub pull request. The issue is significant for sites with multiple languages, but davidkingham notes that most forums don’t allow users to change their language, making the issue less noticeable. The ideal solution would be to make theme translation overrides work like /admin/customize/text, allowing overrides for each language, but there is no ETA for this improvement.
Thanks David! I think this is maybe a bug. I tested it with Gated Topics in Category theme component and same result. If the language is same this will return the original text en.yml even if you overwritten it on admin Theme Translate section. It maybe depends the Discourse default language too. My site default language is Hungarian.
I think, when you override theme translations as an administrator, it only overrides the translations for whatever language you are using when you make the edits. The overrides don’t carry across to other languages. Does that line up with what you’re seeing?
The vast majority of forums use the default config, which doesn’t allow users to change their language, so this issue isn’t noticed.
It is a limitation we’re aware of, but we don’t have an ETA on improving it at the moment. Ideally, we’ll make it work the same as /admin/customize/text, so you can set overrides for each language. Certainly pr-welcome
That is the case David, I turned that setting on a long time ago thinking we would have more international discussions, but it didn’t pan out. So for now I’ve turned off the setting. Thanks for following up.