11-26-2008 01:33 PM - edited 03-14-2019 03:19 AM
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.
11-26-2008 04:54 PM
I figured it out. Set y =
{
java.util.Locale L = new java.util.Locale(x);
return L;
}
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Log in to Community