Following on from: Guest Gate Theme Component - #13 by davidkingham
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 overwrite the Theme Translation to Hungarian
If I set the Chrome language section to English (United States)
It will use the default
But If I change to other language for example English (United Kingdom)
This will use the custom text I added.
I think something like this happens on your site
What do you think about this @JammyDodger?
If you think it could be a bug @dodesz then I’m happy to slide it over to #bug and see if we can get some people to replicate it.
Thanks! Yes I think this might be a kind of bug.
Done. Though it may need a better title.
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.