A recent orkut push introduced a subtle but important distinction
concerning how message bundles are specified. The old method of
identifying bundles no longer works so you need to update your
applications immediately to reflect this update.

Until this point, message bundles were identified by language-country
combination codes such as en-US for United States English, pt-BR for
Brazilian Portuguese, etc. Now, however, only language codes (en, pt,
etc.) are recognized in the Locale element's 'lang' attribute. If you
need to distinguish your bundles by country (U.S. English vs. U.K.
English), you can also add a 'country' element to your Locale element
with the appropriate country code:

<Locale lang="en" country="US" messages="http://www.example.com/
en_US.xml"/>

The localization article on the opensocial-resource wiki has been
updated to reflect this change:

http://code.google.com/p/opensocial-resources/wiki/OrkutLocalization

Unfortunately, there is a small bug -- if you modify your Locale
elements to specify the language code only, your application's title
and other meta information won't be displayed correctly. These fields
still rely on bundles specified using the previous language-country
combination code. This is a known issue and will be fixed with the
next push. In the meantime, you can specify two Locale elements per
language as in the set below. Notice that both point to the same
bundle:

<Locale lang="pt" messages="http://www.example.com/pt_ALL.xml"/>
<Locale lang="pt-BR" messages="http://www.example.com/pt_ALL.xml"/>

This will ensure that both your application text as well as its meta
information is displayed correctly. I'll update this thread when this
bug is fixed.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
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