Language localization bug

AI-generated summary

The discussion revolves around a Language localization bug where Ellery is unable to change the fields “change date” and “number of replies” to Chinese in their community. Despite trying to change the relevant text fields under “Admin” → “Customize” → “Text” to Chinese, the fields remain in English.

Lhc_fl mentions that the issue is not present on their end and suggests that Ellery changed the incorrect string. Lhc_fl advises using the string js.activity, however, Ellery is unable to find it.

Don provides a possible solution, suggesting that the issue might be theme-related. Don suspects that Ellery is using Sam’s Simple Theme, which overrides the template and adds theme translations. Don advises checking the theme translations under /admin/customize/themes/ to resolve the issue.

In the community, we can choose to arrange posts either by change date or by the number of replies in each category, as shown in the image below:

However, I noticed that in our Chinese community, these two fields cannot be changed to Chinese:

I tried to change all the relevant fields under “Admin” → “Customize” → “Text” to Chinese, but these two fields still remain in English:

Is this a current bug, or am I setting it up incorrectly? If it is a setting issue, how should I configure it to display these fields in Chinese?


It’s working for me here

By the way, what you changed is not the correct string.

It should be js.activity

2 Likes

Can’t find this string… Could you please be more specific?

Hello :wave:

This theme looks like to me Sam’s Simple Theme? Which override the template and adds theme translations where you can translate these.

Go to: /admin/customize/themes/
Select: Sam's Simple Theme

This page you will see the theme translations.

Of course, It’s only works if I was correct and you use this theme. :slight_smile:

If I was wrong with this - I am pretty sure you will find these translations in a theme or theme component you use because in Discourse core this section is different.

3 Likes