mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4228] Started basic doc for RTL support (#4432)
This commit is contained in:
committed by
Eugenio Romano
parent
ced2e05d10
commit
ae12e3f019
@@ -12,7 +12,7 @@ Last updated 26 Feb 2019:
|
||||
- Accessibility (508 compliance and automatic tests).
|
||||
- Search highlighting.
|
||||
- Better metadata viewer (whitelisting by default).
|
||||
- Arabic language support.
|
||||
- Support for languages that are written right-to-left (such as Arabic).
|
||||
- Continue with Governance features into ADF.
|
||||
- Better experience in plugin/extensions.
|
||||
- Application dashboards.
|
||||
|
@@ -17,5 +17,6 @@ on an item below to see the corresponding guide page.
|
||||
- [Transclusion](transclusion.md)
|
||||
- [Typography](typography.md)
|
||||
- [Walkthrough - adding indicators to highlight information about a node](metadata-indicators.md)
|
||||
- [Right-to-left language support](rtl-support.md)
|
||||
|
||||
<!--guide end-->
|
||||
|
27
docs/user-guide/rtl-support.md
Normal file
27
docs/user-guide/rtl-support.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
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.
|
Reference in New Issue
Block a user