By the way,what should be the lang parameter <Locale lang="en-US" messages="en_ALL.xml"/> <Locale lang="pt-BR" messages="pt_ALL.xml"/>
OR <Locale lang="en" messages="en_ALL.xml"/> <Locale lang="pt" messages="pt_ALL.xml"/> The prefs.getLang() threw 'pt-BR' and 'en-US' before. But now it is throwing 'pt' and 'en'. Please specify what exactly is the lang parameter value. On May 14, 9:28 pm, Jason <[EMAIL PROTECTED]> wrote: > It's not possible to change the user's language settings using the > API, no. However, you can access the user's preferred language (e.g. > 'en-US', 'pt-BR', etc.) using JavaScript and pass this into any > functions that need to render text. > > To see how to do this, check the first paragraph directly under > "Localized text from your server" on the wiki: > > http://code.google.com/p/opensocial-resources/wiki/OrkutLocalization > > Cheers! > - Jason > > On May 12, 3:09 am, soujanya <[EMAIL PROTECTED]> wrote: > > > > > Hi Json, > > > can the display language be changed on a link click event and passing > > params to the js file. > > I could change the static html pages text ,but not the text displayed > > by the js files. > > > On May 1, 12:04 am, Jason <[EMAIL PROTECTED]> wrote: > > > > No, the language is specified by the container settings. You will have > > > to update your display language in orkut and reload your gadget before > > > seeing the localized result. > > > > - Jason > > > > On Apr 28, 9:53 pm, verma6uc <[EMAIL PROTECTED]> wrote: > > > > > Yeah, > > > > > But what I am trying to do is setting language as a part of gadgets > > > > settings.. Any help..- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

