Subj : Re: Rhino Contex SetLocale dont work To : Danilo From : Igor Bukanov Date : Tue May 25 2004 11:52 pm Danilo wrote: > Hi i have this problem with Rhino: > > I use setLocale("en","US") for Contex but when i get to JavaScript the > Default Locale it return "it" "IT". > Why? You mean Context.getLocale() returns a default locale? That is strange. Do you call Context.setLocale()/getLocale() in the same thread? Also note that Context.getLocale() is only used to localize error messages that Rhino generates and since there is no Italian localization , "it_IT" should produce the same error messages as "en_US". Regards, Igor .