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

Writing from right to left (Arabic) #36

Closed
AviationGamerX opened this issue Mar 19, 2021 · 7 comments
Closed

Writing from right to left (Arabic) #36

AviationGamerX opened this issue Mar 19, 2021 · 7 comments

Comments

@AviationGamerX
Copy link

The string editor in the translations by default types from the left to right, which messes up the Arabic sentences, which goes from the right to left, especially when English words are included, including Acronyms like "OpenTTD", or translations of multiple lines. The simplest solution so far is to type in a new line, however, the new line disappears when the translation is updated.
If the text direction can't be changed, it would be helpful if there was a way to start new lines.

@glx22 glx22 transferred this issue from OpenTTD/team Mar 19, 2021
@frosch123
Copy link
Member

I have tried adding dir="rtl" in various places of the html templates. Does this look more correct?

dir=ltr dir=rtl
eints_arabic_translation_ltr eints_arabic_translation_rtl
eints_arabic_edit_ltr eints_arabic_edit_rtl
eints_arabic_edit2_ltr eints_arabic_edit2_rtl

@AviationGamerX
Copy link
Author

yes that is definitely right, is there a way I can do this or is it now implemented in the web translator?

@frosch123
Copy link
Member

I'll add it to the web translator. I am just unable to check the result myself, so I asked first :)

@AviationGamerX
Copy link
Author

alright thank you so much :)

@LordAro
Copy link
Member

LordAro commented Mar 20, 2021

Don't close the issue before it's been fixed!

@frosch123
Copy link
Member

The fix has been deployed. Have fun!

@AviationGamerX
Copy link
Author

The fix has been deployed. Have fun!

thank you so much :)

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

No branches or pull requests

3 participants