Closed Izrab closed 5 years ago
@lzrab you can change language by isRtl
property
@xlmnxp Could you please explain your answer? Is the isRtl
property supported for all elements? Could you provide a code snippet of how to use the isRtl
property?
@abozanona isRtl property work only in supported Rtl
layouts
Example
<Label text="Label 1" width="70" height="70" backgroundColor="red"/>
<Label text="Label 2" width="70" height="70" backgroundColor="green"/>
<Label text="Label 3" width="70" height="70" backgroundColor="blue"/>
<Label text="Label 4" width="70" height="70" backgroundColor="yellow"/>
</rtl:WrapLayout>```
When user changes app language from English to Arabic, this plugin should have a function to change all the layouts to RTL from code.