question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding RTL mode for supporting RTL languages.

See original GitHub issue

Is your feature request related to a problem? Please describe. Hi! I want to contribute to this project and Persian language, but as it’s a RTL language, forcing it to be shown LTR is not a good idea.

Describe the solution you’d like Adding a RTL mode for RTL languages.

Describe alternatives you’ve considered I don’t know what to write here. 😕

Additional context image Here, I added direction: rtl; for testing the layout.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ndpcommented, Jun 1, 2022

This would be great. I can work out the layout issues with rtl if you can provide a translation. I can’t do it at the moment, but I’ll look at it in the next week and make a branch to contribute to.

0reactions
ndpcommented, Sep 7, 2022

This has been merged into the master branch if anyone wants to take a whack at translating a LTR language. My implementation may not be right, as I’m not sure how this works and don’t currently have the language skills to know what is right and wrong. But the basic idea of text being able to be drawn the other way works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RTL Support on Android. Here is all you need to know - Medium
Few languages such as Arabic, Hebrew, or Persian are written from Right to Left. To handle them, Android supports RTL layouts from API...
Read more >
Supporting RTL Design on Android - ProAndroidDev
Trick: If your app supports multiple languages and if you have code snippet like config.setLayoutDirection(Locale.US) you must change it.
Read more >
Right-to-Left Language Support - WordPress Codex
Adding support for language written in a Right-To-Left (RTL) direction is easy. There are two ways to do that: By creating a fully...
Read more >
How to enable Right-to-left (RTL) support in WordPress
Step 2 – Test RTL support​​ Go to Plugins -> Add New and search for “RTL Tester” – or you can grab the...
Read more >
Right-to-Left Languages - Kendo UI Accessibility Support
Right-to-left (RTL) support refers to the ability of a library, website, or application to handle and respond to users who communicate through a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found