# RTLロケールで使用しても安全なテーマとコンポーネントを示してください

**URL:** <https://meta.discourse.org/t/indicate-which-themes-and-components-are-safe-to-use-with-rtl-locales/284922>\
**Category:** Feature\
**Created:** [2023 年 11 月 9 日午前 10:13 UTC](https://meta.discourse.org/t/indicate-which-themes-and-components-are-safe-to-use-with-rtl-locales/284922 "2023-11-09T10:13:19Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2023 年 11 月 9 日午前 10:13 UTC](https://meta.discourse.org/t/indicate-which-themes-and-components-are-safe-to-use-with-rtl-locales/284922/1 "2023-11-09T10:13:19Z")

</div>

[Reply button doesn’t work any more after recent update](https://meta.discourse.org/t/reply-button-doesnt-work-any-more-after-recent-update/280270/4) の議論を続けます。

問題の一般的な概要をここにまとめました。[Can it be done with CSS? Grouping categories on category page - #13 by simon](https://meta.discourse.org/t/can-it-be-done-with-css-grouping-categories-on-category-page/112433/13?u=simon)

コアとなるDiscourseコードは、RTL（右から左）ロケールで動作するように設計されています。これは主に、[RTLcss gem](https://github.com/discourse/rtlcss) を使用してDiscourseのCSSファイルを反転させることで実現されます。テーマやテーマコンポーネントのCSSは反転されません。これにより、RTLサイトで予期しない問題が発生する可能性があります。

公式テーマやテーマコンポーネントをRTLロケールでテストすることは理にかなっていますか？必要であれば、`.rtl` クラスのルールを追加することで、テーマのCSSにいくつかの調整を加えることができます。そうすれば、公式テーマやテーマコンポーネントはRTLロケールでの使用が安全であるとマークできます。

理想的には、RTLテキストを読むことに慣れている人に確認してもらうべきです。RTLリーダーの立場から見ると、明白な問題に気づくことができますが、LTRレイアウトでは私にとって明白な軽微な問題に気づくのは難しいです。

この点を指摘する一部の理由は、コアDiscourseコードでしばらくの間、いくつかの（CSS以外の）RTLの問題が発生しているためです。[Positioning issues with RTL locales after recent updates](https://meta.discourse.org/t/positioning-issues-with-rtl-locales-after-recent-updates/280220)

---

_[View the full topic](https://meta.discourse.org/t/indicate-which-themes-and-components-are-safe-to-use-with-rtl-locales/284922)._
