Select to view content in your preferred language

Multilingual web site

2707
0
09-02-2014 01:02 AM
shyamkumar
Deactivated User

hi all,

 

     I need your help to create a webpage which supports multiple languages, i want to develop a webpage for English and Arabic.

there should be an option to change language when user clicks on this current language change to another language without refreshing entire page. Please let me know how to achieve this.

 

i am using dojo but it is supporting at the time of page load, if i want to change i have to load it again with corresponding locale

 

var dojoConfig = {

        locale: location.search.substring(1)===""?"en-us":location.search.substring(1),

      parseOnLoad: true,

      packages: [{

        name: "esriTemplate",

        location: path_location

      }, {

        name: "utilities",

        location: path_location + '/javascript'

      }, {

        name: "apl",

        location: path_location + '/apl'

      },{

        name: "templateConfig",

        location: path_location

      }]

    };

0 Kudos
0 Replies