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..
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to