Changing lang dynamically ...
Posted: Fri 31 Jan 2020 1:02 am
The beteljuice has cause to investigate how change gauges language on-demand.
I'm using changeLang(res); where res = "LANG." + ??;
console.log() confirms action taken and res value.
Everything folds and comes back undefined ....
Edit: Ah .... It has to be without quotes ...
How do I code for that ???
Edit #2: Got it working with eval() .. changeLang(eval(res));
... but I thought that had been depreciated years ago ???
I'm using changeLang(res); where res = "LANG." + ??;
console.log() confirms action taken and res value.
Everything folds and comes back undefined ....
Edit: Ah .... It has to be without quotes ...
How do I code for that ???
Edit #2: Got it working with eval() .. changeLang(eval(res));
... but I thought that had been depreciated years ago ???