I’ve seen several instances of titles being localized inappropriately, and there have been topics opened for that, but in this reply is the first time I’ve noticed it in oneboxed text:
AI-generated summary
The discussion addresses a perceived bug regarding the inappropriate localization of oneboxed text. ToddZ initially reported seeing localized titles within oneboxes, providing a screenshot as evidence. Moin clarified that oneboxes are not part of the user’s post content but are external links resolved by the system. ToddZ corrected his terminology from “quoted” to “oneboxed” and asked if this was a known issue.
Moin explained that this behavior is not broken but rather a result of how the system handles external links: the translation engine translates the user’s post text while leaving the external link intact, which then resolves to the language version of the target site based on the content or user settings. He illustrated this with an example showing how an English post linking to Discourse translates the surrounding text but the link itself points to the German version if the context implies it. ToddZ acknowledged the explanation, realizing it was standard onebox behavior, and decided to close the topic.
However, nat added nuance, noting that the specific issue arises from URL resolution, where pasting a URL might resolve to a specific language version (e.g., Spanish) based on the content detected. nat mentioned that Discourse has discussed supporting the localization of onebox content within the site itself. Finally, nat announced that improvements regarding this problem are planned for the near future.
Those aren’t quotes. These are oneboxes, so the text is not part of my post
Ah, thanks. Edited “quoted” to “oneboxed.”
(Please advise if this is a known issue – I didn’t find it in a search.)
I am not sure I would say something is broken here. When a post contains a link, the translation contains the same link.
Example:
Post written in English:
Have you heard of Discourse? It's a great forum software. See
https://discourse.org
Translation to German:
Hast du schon von Discourse gehört? Es ist eine tolle Forumssoftware. Schau mal auf:
https://discourse.org
Where do you expect the translation of the content inside the onebox to be saved and how should it be entered during manual translation?
The customizable, scalable community platform powering over 22,000 communities. Create knowledge through conversation.
Is not part of my post
Ok, I see that it’s not an issue. Since it was all within the topic I didn’t quite see that it was normal onebox behavior. I’ll close this out.
This is something specific to resolving the URL that is pasted, for example if we paste this:
It resolves to the Spanish version of the site because the content is in Spanish.
That said, we’ve had discussions to see if there’s some way to support localizing oneboxes within Discourse sites itself.
Just a note that we’ll be making some improvements regarding the problem shown in OP soon™.
