Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser Language
#3
Thanks, but from the information you can not read the set language.

I have now found a solution, but I don't think it is the best way. Big Grin

I have inserted an IWEdit and an IWTimer on the Form.
The procedure IWAppFormCreate gets the following two lines:

AddToInitProc('document.getElementById("IWEDIT1").value=navigator.language;');
AddToInitProc('AddChangedControl("IWEDIT1");');

At IWTimer1AsyncTimer I can then read the text from the IWEdit and set my program to the language.
Maybe there is a way to write the navigator.language directly into a variable of the form instead of into an IWEdit. Huh
Reply


Messages In This Thread
Browser Language - by Michael - 01-25-2022, 07:47 AM
RE: Browser Language - by Jose Nilton Pace - 01-25-2022, 02:52 PM
RE: Browser Language - by Michael - 01-26-2022, 10:40 AM
RE: Browser Language - by jeroen.rottink - 01-26-2022, 02:38 PM
RE: Browser Language - by Michael - 02-02-2022, 05:09 AM
RE: Browser Language - by kudzu - 02-25-2022, 01:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)