LTR text is displayed wrong in an RTL interface and vice versa

Hey,
So the issue is that user interface language should not effect how language is displayed.
If you are reading a thread for example in English, but in a RTL language, the English should be aligned to the left, regardless to the interface.
Same goes for reading an RTL language in an English interface.

The is the expected behaviour in all RTL sites.

To give you the idea, I am attaching here an image of the FAQ when viewed from the Hebrew interface.

1개의 좋아요

For sites that have enabled the support mixed text direction setting, the text direction of posts will be set based on the language used in the post. See Supporting mixed text directions for more details. This setting is not enabled on try.discourse.org.

Your screenshot brings up a good point though. the FAQ, Terms of Service, and Privacy pages are not regular Discourse posts, so they do not get their direction set correctly even if the support mixed text direction setting is enabled.

4개의 좋아요

Is there a way to test the mixed text direction?
Also is there a reason this is not default?

The setting isn’t enabled by default because it isn’t needed for most sites. Since the text is parsed in the user’s web browser, enabling the setting adds some extra work to the browser. At the moment, the only way to test it out is to either join a site that it’s enabled on, or to setup your own Discourse site and see if it does what you’re looking for.

The setting is enabled on one busy site that I’m aware of, and seems to be working well for its users.

3개의 좋아요

게시물에서도 비활성화되어 있죠?

1개의 좋아요

설정에서 혼합 텍스트 방향 지원(support mixed text direction)을 활성화하면, 모든 게시물의 텍스트 방향이 언어에 따라 자동으로 설정되어야 합니다. 해당 설정을 활성화한 경우, 페이지를 새로고침해 문제가 해결되는지 확인해 보세요.

현재 테스트를 해보고 있는데, 제목의 텍스트 방향이 더 이상 올바르게 설정되지 않는 것을 발견했습니다. 이전에는 이 기능이 정상적으로 작동했습니다:

흥미롭게도, FAQ, 서비스 약관, 개인정보 처리방침 페이지의 텍스트 방향이 올바르게 설정되지 않던 오래된 문제가 수정되었습니다:

2018년에 이 기능을 테스트했을 당시, 위 상자 안의 텍스트는 사이트의 로케일(지역 설정)에 따라 잘못하여 RTL(오른쪽에서 왼쪽으로)로 표시되었을 것입니다.

2개의 좋아요