Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Script question IPCCX 4.0

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
New Member

Re: Script question IPCCX 4.0

I figured it out. Set y =

{

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

return L;

}

126
Views
0
Helpful
1
Replies