Use GetCurrentLocale function in javascript

Good afternoon,

How do I use the GetCurrentLocale function in javascript?

Image attached.


Thank you.

Hi Agno,

You can add an xy expression in you screen, set its value to

"
$(document).ready(function(){
refreshDate();
refreshLocale(" + GetCurrentLocale() + ");
});
"

and set the Escape Content to No.

Then remove the that part of the code from the code you had on the Javascript property of the Screen.

Cheers,

José

José Costa wrote:

Hi Agno,

You can add an xy expression in you screen, set its value to

"
$(document).ready(function(){
refreshDate();
refreshLocale(" + GetCurrentLocale() + ");
});
"

and set the Escape Content to No.

Then remove the that part of the code from the code you had on the Javascript property of the Screen.

Cheers,

José

Hi,

Could you please share OML file ,how can we achieve this one for dynamic datas

PS: I have some dynamic labels in my application which are coming from database table and those are not being translated.


Hi Ronan,

Your question has nothing to do with the original question. Please repost it as a new question, thanks.