All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
  Print view

How to change Localizations Url programmatically?
Author Message
PostPosted: Thu Mar 19, 2015 3:35 pm 
Offline

Joined: Tue Mar 10, 2015 12:02 pm
Posts: 3
Hi guys,

I am still investigating form localization and I need to change Localizations Url property of the form. Is it possible? Problem is, that now it seems to be static, I set up some file (e. g. Translations.xml) as default language, but when form loads, I need to change it according to browser language (e. g. to Translations.sk-SK.xml).

Could I somehow change it before the form is loaded or after?

Of course I could solve this issue with rewriting all key-value pairs to javascript and use SetTranslation method, but then the intended logic with Localizations Url is useless.

Or, is it some way how to create separate form for each language and load the one according to the browsers language? I tried to put some conditions of type

(navigator.language || navigator.userLanguage)=="en-US"

to the form version, but it is not working.

Thank you for any tip

Lukas


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by custom web design , optymalizacja pozycjonowanie strony pozycjonowanie
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group