# 国リストの翻訳されていない文字列

**URL:** https://meta.discourse.org/t/untranslated-string-in-the-list-of-countries/301208
**Category:** Bug
**Tags:** subscriptions
**Created:** [2024 年 3 月 27 日午後 6:40 UTC](https://meta.discourse.org/t/untranslated-string-in-the-list-of-countries/301208 "2024-03-27T18:40:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)
#### Post date: [2024 年 3 月 27 日午後 6:40 UTC](https://meta.discourse.org/t/untranslated-string-in-the-list-of-countries/301208/1 "2024-03-27T18:40:36Z")

</div>

リストの国々に未翻訳の文字列が表示されています。

 ![Screenshot 2024-03-27 at 11.07.42 AM](https://global.discourse-cdn.com/meta/original/4X/8/b/d/8bd58e610a85485df66c6e63c2b3554195971210.png)

奇妙なことに、[英語ロケールのクライアント設定](https://github.com/discourse/discourse-subscriptions/blob/0d28c9a56dcd5c539b352a02124c3381f70e8c07/config/locales/client.en.yml#L301)にはノルウェーが見られます。

```plaintext
          NO: "Norway"

```

この問題を引き起こしている可能性のあるものが見当たりません。`NO`の検索であるため、これは[`NULL`ライセンスプレートの問題](https://arstechnica.com/cars/2019/08/wiseguy-changes-license-plate-to-null-gets-12k-in-parking-tickets/)ではないでしょうか？しかし、[`I18n`コード](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse-i18n/src/index.js)にはその問題を引き起こすようなものは何も見当たりません。

郡についてですが、 **特定の国を見つけやすくするためにリストを並べ替える方法はありますか？** 例えば、すべての顧客がアメリカ合衆国に住んでいる場合、\[1\] 検索を避けることができれば便利です。

* * *

1. アメリカ中心である必要はありません。私のクライアントが事業を行っている国であるだけです。😉

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [2024 年 3 月 27 日午後 10:32 UTC](https://meta.discourse.org/t/untranslated-string-in-the-list-of-countries/301208/2 "2024-03-27T22:32:26Z")

</div>

> [@jericson](#):
>
> Perhaps it’s a [`NULL` licence plate problem](https://arstechnica.com/cars/2019/08/wiseguy-changes-license-plate-to-null-gets-12k-in-parking-tickets/) here given the lookup is for `NO`?

Kinda is ya 😂

Here’s the fix

> <https://github.com/discourse/discourse-subscriptions/pull/196>
>
> Turns out in YAML \`NO\` is interpreted as a boolean value, so we need to
> wrap it …in quotes.

> [@jericson](#):
>
> 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]](#footnote-1484572-1) for instance, it would be handy to avoid having to search for it.

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.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2024 年 3 月 28 日午後 9:00 UTC](https://meta.discourse.org/t/untranslated-string-in-the-list-of-countries/301208/3 "2024-03-28T21:00:50Z")

</div>

このトピックは21時間後に自動的にクローズされました。新しい返信は許可されていません。
