Change the direction of the application using Phonegap or SAPUI5


I am not able to change my app direction using (html dir="ltr"), after android device language has been changed to arabic. How can I change my app direction to ltr using phonegap or sapui5?

That is kind of not possible,

Reason : Because if you do that then you would need to build entire android app again and then run it in device.

Possible Solution

You can use navigator.language to detect device language and based on that you can load different CSS and HTML.