I have a form with several fields and buttons on it. I created the new language with id='pl' and translated all strings using labels and it works fine in the design mode, where the Language dropdown is available. Unfortunatelly, I cannot set up a language in running process - it is always English.
I tried the following:
1. putting
1HTTPSESSIONSET('language', 'pl');
in the Script component in page template (phase: Render),
2. putting
1USER().setPreference('language', 'pl');
in the same place as in 1,
3. adding
1language=pl
in the URL.
I even set up, just for testing,
1nm.default.locale
to "pl" but no effect, the form is still in English.
What is also interesting, after setting
1HTTPSESSIONSET('language', 'pl');
, method
1HTTPSESSIONGET('language');
returns pl, but at the same time method
1LANGUAGE()
returns en.
Can you explain me what's going on and why can't I force the form to switch to other language than EN?
I have a form with several fields and buttons on it. I created the new language with id='pl' and translated all strings using labels and it works fine in the design mode, where the Language dropdown is available. Unfortunatelly, I cannot set up a language in running process - it is always English.
I tried the following:
1. putting in the Script component in page template (phase: Render),
2. putting in the same place as in 1,
3. adding in the URL.
I even set up, just for testing, to "pl" but no effect, the form is still in English.
What is also interesting, after setting , method
returns pl, but at the same time method returns en.
Can you explain me what's going on and why can't I force the form to switch to other language than EN?