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
feat: RTL support #2134
Comments
Great idea, a PR would be welcomed! |
I'll issue a PR for the hebrew translation and see how I can bring them both to a stage where they give a good hebrew user experience. |
Basic RTL can be easily added if we map certain languages to RTL and than push dir="RTL" to the HTML tag. |
Here's a possible solution: First, you need to detect the chosen language and store it in a variable. Once you have the chosen language, you can use JavaScript to add the dir attribute to the HTML tag. Here's some code to get you started: // Detect the chosen language // Add the dir attribute to the HTML tag // Add the Tailwind classes This is also try that then we can pass font-family and css property to get things shape up |
Hey, I've recently started developing something similar. |
Is your feature request related to a problem? Please describe.
To enable multi-lingual support for Arabic , hebrew , Farsi etc most apps have RTL capabilities.
This is needed for optimal experience for these languages
Describe the solution you'd like
The CSS implementation needs to know that certain languages should have a RTL layout
The text was updated successfully, but these errors were encountered: