Yet another title localization issue

AI-generated summary

A user reported a bug related to title localization issues in Discourse, where topic titles are incorrectly changing to Chinese after a notification click. RGJ described the sequence of events, including closing and hiding a topic, which led to the title being localized unexpectedly. Moin noted similar occurrences in other topics, providing examples. nat investigated and identified the cause, linking to a fix in a GitHub pull request (#37668). The issue stems from a null fancy_title in the database, triggering incorrect localization. The bug remains open for further monitoring.

  • I reported a UX issue
  • Moin pointed out to me that it was duplicate
  • I then closed the topic and made it hidden
  • Moin liked my post
  • I saw a Chinese notification and clicked it
  • The topic title was changed to Chinese

Topic here
Not sure if bullets 2-5 matter but maybe they do so that is why I mention them.

Similar to Another title localization issue
Not sure if it is the same so opening a new bug report.

1 Like

I’ve noticed quite a few of these recently.

It happened on Show name of everyone group based on default locale during category creation

And I noticed it here: Own username and avatar displayed when looking at other people’s Rewinds

But both work fine now

1 Like

Thanks for the report. I’ll have a look.

EDIT: Great. Thanks to logs I can now pinpoint the cause.

4 Likes

We have a fix here:

https://github.com/discourse/discourse/pull/37668

This solution and should technically fix the issue we’ve been seeing. The bigger question I haven’t resolved is why the implicated topic’s fancy_title might be null in the db, since it’s the scenario which would trigger the localization to be saved.

I’ll continue to monitor this here. Will keep this open till the weekend.

2 Likes

This topic was automatically closed after 4 days. New replies are no longer allowed.