ALBRECHT Active Member Licensed User Jul 24, 2019 #1 Hello, According to the ltr or rtl language direction coosen by the user, Please, is it an easy way to call : 1: a text or label (with direction settings rtl or ltr) 2: a complete form direction (label + Edittext) or (Edittext + label), example: or : Today, according to the language choosen , i have both forms panel but its not easy to update... thanks Michel
Hello, According to the ltr or rtl language direction coosen by the user, Please, is it an easy way to call : 1: a text or label (with direction settings rtl or ltr) 2: a complete form direction (label + Edittext) or (Edittext + label), example: or : Today, according to the language choosen , i have both forms panel but its not easy to update... thanks Michel
Erel B4X founder Staff member Licensed User Longtime User Jul 24, 2019 #2 You should have two layout files with views with the same names. You can then remove all views and load the correct layout. Upvote 0
You should have two layout files with views with the same names. You can then remove all views and load the correct layout.
ALBRECHT Active Member Licensed User Jul 24, 2019 #3 Ok Erel, that is what i have today (with the 2 panels), but i will try also an other way, which consists to switch horizontaly the labels and fields positions according the user language ... Thanks Upvote 0
Ok Erel, that is what i have today (with the 2 panels), but i will try also an other way, which consists to switch horizontaly the labels and fields positions according the user language ... Thanks
Erel B4X founder Staff member Licensed User Longtime User Jul 24, 2019 #4 I've updated the localizator example: https://www.b4x.com/android/forum/threads/b4x-localizator-localize-your-b4x-applications.68751 See how it flips the layout when switching to Hebrew. Upvote 0
I've updated the localizator example: https://www.b4x.com/android/forum/threads/b4x-localizator-localize-your-b4x-applications.68751 See how it flips the layout when switching to Hebrew.