The topic shown here was written in French. My locale is set to English.
At various places, the French text appears.
I could swear I have seen a report of this before, but I am unable to find it.
AI-generated summary
In a feature discussion about content localization, users report that post snippets and topic titles aren’t properly localized—even when content is in a different language (e.g., French) and the user’s locale is set to English. RGJ first highlights the issue, noting that while the topic title was manually updated with [Résolu] (French for “Solved”), the snippet and title weren’t translated. nat clarifies that plugins currently don’t localize content, but plans exist to address this. Moin questions whether this is a plugin-specific issue or a broader localization problem. RGJ confirms the snippet issue is distinct from the title’s lack of translation, which is a core Discourse feature, not plugin-related. nat agrees, noting that title translation is handled separately and differently from plugin content. The core bugs identified are: (1) snippets not localized, (2) topic titles not translated even when updated manually, and (3) plugin-added content (like [Résolu]) not triggering localization. The thread concludes with nat confirming that the OP has been updated to reflect the correct scope and linking to a GitHub PR that resolves the issue.
Thanks for the report.
We don’t yet localize content added by plugins, but have some plans to do so in the future.
EDIT: I updated your OP @RGJ to reflect what I think is the issue here.
I am a little confused. How are the first two boxes connected to the solved plugin? Isn’t that a general issue that the untranslated title is used? I had the impression the [Résolu] was added to the topic’s title by a user, not by the plugin.
Possibly, but somehow it’s (or actually, I see now: the entire topic title) not being translated.
I understand the snippet part, even though it’s hard to explain to a non-technical user that some parts of their screen are “plugin territory”, especially since that plugin is included in core.
But the <title> not being translated is not caused by the plugin?
Yup, that is different and can be separately updated.
I’m not sure what you mean by that.
Yes, this is correct. And subsequently, the translated title was not updated.
So we have:
- solved feature request: snippet not localized
- core bug:
<title>not translated - core bug: topic title translation not updated when topic title changes
This is now done here:
https://github.com/discourse/discourse/pull/36139
OP will still be a ways to go.
