mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
28 lines
899 B
Markdown
28 lines
899 B
Markdown
---
|
|
Title: Right-to-left language support
|
|
Added: 2019-03-13
|
|
---
|
|
|
|
# Right-to-left language support
|
|
|
|
ADF currently has limited support for languages that are written from right to left (such as Arabic).
|
|
|
|
ADF has been updated and tested to work with the HTML
|
|
[`dir` attribute](https://www.w3.org/TR/html51/dom.html#the-dir-attribute)
|
|
added to the main `<body>` element in `index.html`. When the attribute is set to
|
|
`rtl`, text in the app will be right-aligned as required for right-to-left languages:
|
|
|
|
```html
|
|
<body dir="rtl">
|
|
...
|
|
</body>
|
|
```
|
|
|
|
Also, we have a [translation file](internationalization.md) for Arabic (code: "ar"),
|
|
which is the
|
|
[most widely used](https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers)
|
|
language written from right to left.
|
|
|
|
It is on our [roadmap](../roadmap.md) to extend and improve our support for RTL languages
|
|
in the coming versions of ADF.
|