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

Right to Left if keyboard changed OR some kind of flag in text file #44

Open
willwade opened this issue Mar 6, 2023 · 0 comments
Open

Comments

@willwade
Copy link
Contributor

willwade commented Mar 6, 2023

We have a small problem. When using a Right to left language - and swapping to a Left to Right language file it will only change if the keyboard is a language that is right to left. But if the user loads a english txt file (Left to right) - and then say a Urdu txt file (right to Left) and doesn't change the keyboard - it won't change direction. Some users may not bring the keyboard up.

A couple of ideas.

If the txt file that is read in has a file name of a lang code that is RtoL - then use that. eg. urd_SomeFilename.txt => Urdu => Right To Left

or if the text file starts with a comment and lang code eg. //urd
use that?

Or maybe we just force it with //rtol or //ltor in the first line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant