Hangman variables with message bundles work in server-side templates.

We are updating the tutorial to reflect this.

On Thu, May 28, 2009 at 8:53 AM, [email protected] <
[email protected]> wrote:

>
> I specify all the text to be used within my profile view like this for
> each language:
>
> <Locale lang="es" messages="http://.../ALL_ES.xml"/>
>
> then (in javascript) I use:
>
> var prefs = new gadgets.Prefs();
> prefs.getMsg('tag');
>
> to pull out the text to display. How is this done in os:templates
> without using javascript?
>
> Considering that Orkut is used in so many languages, I'm surprised
> that none of the examples on the wiki for os:templates have any
> internationalisation. I'm completely stumped as to how to implement
> these new templated profile views in multiple languages. I can't find
> anything in the documentation at all.
>
> Can anyone please help or provide examples, we just found out that
> there are only a couple of weeks left before the deadline, according
> to the blog we will lose all our profile boxes if we can't move over
> to os:templates in time!
>
> Thanks very much,
> Chris
> >
>

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