User administration: some boolean values not translated

I noticed that some boolean values on the /admin/users/<userid>/<username> page are not translated:

I wonder why the “Aktiv” value is translated, but the others are not.

2 Likes

Alright, so the reason is that the user-index.hbs template does this explicitly for the active field…

https://github.com/discourse/discourse/blob/5dbd6a304bed5400be481d71061d3e3ebb4d6785/app/assets/javascripts/admin/templates/user-index.hbs#L190-L197

… but not for the others:

https://github.com/discourse/discourse/blob/5dbd6a304bed5400be481d71061d3e3ebb4d6785/app/assets/javascripts/admin/templates/user-index.hbs#L242-L243

Submitted a PR to correct this:

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

Afterwards it looks like this:

3 Likes

Hi Claas, may you guide how you find not-translated strings?

or let’s say, I know that badge system, or the tag system, or some parts in the profile pages do not have Persian translation and texts are not translatable via admin panel, but since they’re not plugins and are parts of the source code I don’t have any idea where/how to find them and how to add translations.

I saw what you added to the above file, but I couldn’t follow it and find out my way.

thanks in advance,

2 Likes

8 posts were split to a new topic: How to find and amend un-translated strings