RTL or LTR is a property of the translation of your application, you can't change that dynamically.
But you can have both versions available. Let's say your applications primary language is english with ID 1000. Then you can create a translation of this application in arabic and use ID 1001.
Under Shared Components / Component Settings you choose the "FOEX Application Settings" and provide 1001 as Application ID you want to RTL enable.
Now based on your method of language detection (Shared Components / Globalization Attributes / Application Language Derived From) you can switch between those two versions of your application based on your users input or settings.
answered 23 Jan, 09:22