Editing plugin translation strings in the admin panel when the forum language is not defined for the plugin has no effect

AI-generated summary

There’s an issue with editing plugin translation strings in the admin panel when the forum language is not defined for the plugin. If a plugin only has translations for a specific language (e.g., English) and is installed on a forum with a different language (e.g., French), the English strings will be used. However, if the forum owner attempts to update the translation string in the admin panel, the change has no effect.

david reported this issue and provided links to similar problems in the past. sam suggested that eviltrout should look into it. However, david later mentioned that the issue might be fixed, citing a quote from zogstrip stating that “translation fallback issues should be a thing of the past.”

If the current forum language does not exist in the plugin, then overriding strings in the admin panel does not work.

As an example: if I have a plugin which only has english language translations, and somebody installs it on a french forum, the english strings will be used (this makes sense).

However, if the forum owner goes into the admin panel and tries to update the translation string, that change has no effect.

See today:

And also in April:

https://meta.discourse.org/t/customize-all-text-in-discourse/36092/45?u=david_taylor

https://meta.discourse.org/t/customize-all-text-in-discourse/36092/47?u=david_taylor

Could be related to this:

7개의 좋아요

Ran into this issue again today with @Ogulcan. Is there any plan to get it fixed, and if not would someone be able to point me to the right area of the codebase so I can attempt to fix it myself?

@eviltrout I have seen this reported elsewhere, perhaps you can add to your list to have a look.

3개의 좋아요

Looks like this might be fixed now :slight_smile:

4개의 좋아요