# json\_schemaを翻訳可能にするにはどうすればいいですか？

**URL:** https://meta.discourse.org/t/how-do-i-make-json-schema-translatable/318366
**Category:** Translations
**Created:** [2024 年 7 月 25 日午後 2:22 UTC](https://meta.discourse.org/t/how-do-i-make-json-schema-translatable/318366 "2024-07-25T14:22:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2024 年 7 月 25 日午後 2:22 UTC](https://meta.discourse.org/t/how-do-i-make-json-schema-translatable/318366/1 "2024-07-25T14:22:45Z")

</div>

[Make the settings descriptions of all official theme components translatable](https://meta.discourse.org/t/make-the-settings-descriptions-of-all-official-theme-components-translatable/311803) からの議論を続けます。

現在、[Category Groups](https://meta.discourse.org/t/category-groups/200874) の設定を翻訳可能にしようとしています。

> <https://github.com/discourse/discourse-category-groups-component/blob/main/settings.yml#L16>

しかし、locales/en.yml からの説明を JSON エディタに表示するための正しい構文を見つけるのに苦労しています。[Objects type for theme setting](https://meta.discourse.org/t/objects-type-for-theme-setting/305009) を見つけましたが、これは objects type 設定の構文を説明しています。JSON スキーマについても同様のものがありますか？

例も見つけようとしましたが、カレンダープラグインの説明さえ現時点では翻訳できません。

> <https://github.com/discourse/discourse-calendar/blob/main/lib/discourse_calendar/site_settings/map_event_tag_colors_json_schema.rb>

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [2024 年 8 月 4 日午後 11:29 UTC](https://meta.discourse.org/t/how-do-i-make-json-schema-translatable/318366/2 "2024-08-04T23:29:14Z")

</div>

確認しましたが、何か見落とさない限り、不可能だと思います。🤔

`json_schema` は `objects` 型に置き換えられる予定です。  
公式のプラグインやコンポーネントも、いずれは変換されると考えています。  
もしできれば、私も協力します！
