1
0
-1

Hi,

I need to put a language selector on main page and apps' userviews. Problem is it needs to have Arabic too, so when switching from English to Arabic it will not only change texts they will also be RTL obviously.

 

Couldn't find info about that kind of localisation in docs. Any help?

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Hi, you can try using the internationalization hash variables Hash Variable#AppMessageHashVariable(Internationalization) in your app, and allow the user to choose their locale by enabling "Enable User Locale Selection" in General Settings#UserInterfaceSettings

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Is there any way to put it on the main page instead of profile settings, since it will be arabic/english and english users will need to find the profile page while site is in arabic and vice versa.

         

        I'd need to modify source code to alter pages this way I guess?

        1. Anders

          You could try following the "Setting the locale on the fly" section in https://dev.joget.org/community/display/KBv5/Manage+Messages

        CommentAdd your comment...