cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
343
Views
0
Helpful
1
Replies

Script question IPCCX 4.0

bvileen
Level 1
Level 1

In the script editor: How can I construct a Language variable from a string? For example I have a string variable x="en" and a language variable y. I have tried to set y = "L[" + x + "]", which does not work. Thanks in advance.

1 Reply 1

bvileen
Level 1
Level 1

I figured it out. Set y =

{

java.util.Locale L = new java.util.Locale(x);

return L;

}