Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n UI Bug: For arabic language, it supposed to add support for correspond RTL layout. #2595

Open
3 of 5 tasks
PrinOrange opened this issue Jan 17, 2025 · 1 comment
Open
3 of 5 tasks
Labels
bug Something isn't working

Comments

@PrinOrange
Copy link
Contributor

Describe the bug

对于 i18n,仅仅翻译文本是不够的,因为阿拉伯文的阅读流方向是从右向左,使用阿拉伯语的界面布局应当切换到 RTL布局,但是目前 Follow 缺少对 RTL 布局的支持。

Image

它的界面应该调整成类似这样,部分元素需要镜像化

Image

对于 i18n,做 RTL 适配是很重要的,里面的坑比较多,我自己写了一篇文章,做了一些总结


For i18n, it is not enough to just translate the text only . Because the reading stream direction of Arabic is from right to left, the interface layout using Arabic should be adjusted to RTL layout, but currently Follow lacks support for RTL layout.

Image

Its interface should be adjusted to something like this, and some elements need to be mirrored

Image

For i18n, it is very important to do RTL adaptation, and there are many trivial details. I wrote an article myself and made some summaries

Feed Info

NULL

Reproduction Video

No response

Environment

No response

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • This issue is valid

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
@PrinOrange PrinOrange added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant