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

Consider more languages as RTL #2267

Closed
raducoravu opened this issue Mar 16, 2016 · 1 comment
Closed

Consider more languages as RTL #2267

raducoravu opened this issue Mar 16, 2016 · 1 comment
Labels
enhancement Changes to an existing feature i18n Issue related to internationalization / localization priority/medium Medium (or unknown) priority issue
Milestone

Comments

@raducoravu
Copy link
Member

In the XSLT stylesheet "dita-utilities.xsl" there is a template with the mode "get-render-direction". There should be more tests there for RTL.
According to Wikipedia the following language codes are RTL:

https://en.wikipedia.org/wiki/Right-to-left

'ar' – 'العربية', Arabic
'arc' – 'ܐܪܡܝܐ', Aramaic
'bcc' – 'بلوچی مکرانی', Southern Balochi
'bqi' – 'بختياري', Bakthiari
'ckb' – 'Soranî / کوردی', Sorani Kurdish
'dv' – 'ދިވެހިބަސް', Dhivehi
'fa' – 'فارسی', Persian
'glk' – 'گیلکی', Gilaki
'he' – 'עברית', Hebrew
'lrc' - 'لوری', Northern Luri
'mzn' – 'مازِرونی', Mazanderani
'pnb' – 'پنجابی', Western Punjabi
'ps' – 'پښتو', Pashto
'sd' – 'سنڌي', Sindhi
'ug' – 'Uyghurche / ئۇيغۇرچە', Uyghur
'ur' – 'اردو', Urdu
'yi' – 'ייִדיש', Yiddish
@jelovirt jelovirt added priority/medium Medium (or unknown) priority issue enhancement Changes to an existing feature labels Mar 16, 2016
@robander
Copy link
Member

Makes sense. The current list is only based on languages that are otherwise supported for generated text. It's possible to generate content that doesn't use any generated text, in which case it would be nice if we "just worked"...

@jelovirt jelovirt added this to the 2.3 milestone Mar 26, 2016
@robander robander added the i18n Issue related to internationalization / localization label May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Changes to an existing feature i18n Issue related to internationalization / localization priority/medium Medium (or unknown) priority issue
Projects
None yet
Development

No branches or pull requests

3 participants