monty25
(Guido Leenders)
26 באוגוסט, 2025, 4:14pm
1
We have set up content localization on Discourse 3.5:
A topic has been translated from the default locale Dutch to English (UK) as visible at the red 3:
When using a private browser window, the locale chooser appears, but changing it makes no change to the actual text:
The same output occurs when the enable tl parameter is added with value en or en_gb.
Also, no hreflang links are present (but that seems to be a known feature gap).
However, the first line of the HTML changes on locale change for Dutch from:
<html lang="nl" class="desktop-view not-mobile-device text-size-normal anon">
to the following for English (UK):
<html lang="en-GB" class="desktop-view not-mobile-device text-size-normal anon">
What could be the reason that the translated text is not displayed?
לייק 1
nat
(Natalie T)
30 באוגוסט, 2025, 4:54am
2
Could you hit the normal edit button for the post, and check that the post’s original language is correct?
We have a new experimental feature that’s behind a hidden site setting – content_localization_crawler_param which can serve translated content to Google.
We’re still in testing phase, but I’ve seen some optimal results so far.
If you wish you could turn it on.
לייק 1
Moin
30 באוגוסט, 2025, 5:55am
3
monty25:
Discourse 3.5
So you are on the stable branch? I’m afraid the new setting Nat mentioned in the end is too new, so it is not available there.
3 לייקים
tobiaseigen
(Tobias Eigen)
22 בספטמבר, 2025, 9:47pm
4
@monty25 האם הצלחת לפתור את הבעיה שלך? כפי שמציין מוין, עבודת התרגום היא די בחזית הטכנולוגיה ואם אתה רוצה להשתמש בה, תרצה להיות על הגרסה העדכנית ביותר, לא על הגרסה היציבה.
tobiaseigen
(Tobias Eigen)
נסגר ב־
6 באוקטובר, 2025, 9:48pm
5
נושא זה נסגר אוטומטית 14 יום לאחר התגובה האחרונה. לא ניתן להוסיף תגובות חדשות.