Script question IPCCX 4.0

Unanswered Question
Nov 26th, 2008
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
bvileen Wed, 11/26/2008 - 16:54
User Badges:

I figured it out. Set y =

{

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

return L;

}

Actions

This Discussion