1

I want to make this application available on two languages (MK and EN) depending on whether the user choose (click) [MK] or [EN] button.

If I set variable loc = "MK", default application language will be "MK", but if I click on button [EN] to change the application language, I don't know how to reload dojoConfig.

enter image description here

1
  • Please always provide code as text rather than pictures.
    – PolyGeo
    Apr 29 '17 at 4:17
-1

I solved my problem by reloading the index.html page on anchor click, adding "lang" parameter in the URL. I hope this solution will help someone else.

enter image description here

1
  • Please always provide code as text rather than pictures.
    – PolyGeo
    Apr 29 '17 at 4:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.