Untranslated string in the list of countries

AI-generated summary

A user, jericson, reported an untranslated string in the list of countries, specifically for Norway. Despite the English locale client configuration having the correct translation, the issue persisted. blake confirmed the problem and provided a fix in a pull request. Additionally, jericson inquired about ordering the list of countries to make it easier to find specific ones, and blake suggested a theme component could be created to auto-fill a default country, such as the United States.

I’m seeing an untranslated string in the list of countries:

Oddly I do see Norway in the English locale client configuration:

          NO: "Norway"

I don’t see what could be causing this problem. Perhaps it’s a NULL licence plate problem here given the lookup is for NO? But I don’t see anything that would cause that problem in the I18n code.

On the topic of counties: Is there any way to order the list to make it easier to find specific countries? If all of your customers live in the United States,[1] for instance, it would be handy to avoid having to search for it.


  1. Doesn’t have to be US-centric. That’s just country where my clients happen to do business. :wink: ↩︎

2 Likes

Kinda is ya :joy:

Here’s the fix

https://github.com/discourse/discourse-subscriptions/pull/196

I hear ya. I’m sure a theme component could be made to auto fill it to US or something. The nice thing is that searching/typing for it is pretty easy vs being forced to scroll all the way down.

5 Likes

This topic was automatically closed after 21 hours. New replies are no longer allowed.