Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] To convert a page in to english

$
0
0
Hi syed,

You can add the so popular "flags" which can be for example icons that are on the header of your application (ie common to all pages) and when you click on those icons you (re)define the CurrentLocale to the one of choice:

pt for portuguese
en-us for US English

and so on... :)

Then, when you click on those icons here's what you can do:

The Screen Action associated with the icons will be to set the value of a Session variable that you created to the locale you desire:



Then on the preparation of each page, you add an action called:

OnBeginWebRequest



where you set the value of the currentLocale to the value of the Session variable you created, and that's it.

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>