dcorking / google-wave-resources

Automatically exported from code.google.com/p/google-wave-resources
0 stars 0 forks source link

optionally demanding feature "opensocial-i18n" breaks gadget #661

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I add the line
  <Require feature="opensocial-i18n"/>
or
  <Optional feature="opensocial-i18n"/>
to a gadget's ModulePrefs-section wave fails to load the gadget and instead
displays the following error message:

  Unexpected inability to load i18n data for locale: en

I'm not even using the i18n library in my JavaScript yet, so at least
demanding the feature as "optional" shouldn't break the gadget. This will
prevent wave from loading gadgets that have already been written for other
containers even if those gadgets demand the i18n library only optionally.
Besides, as in the wave container gadgets are actually passed around
different people (possibly living in different countries) I think that
supporting the i18n library is even more important than it is in other
containers, where users could still choose to use gadgets that hard-code
dates/times/currencies/etc. in the way they are used to.

Original issue reported on code.google.com by Robert.B...@gmail.com on 19 Feb 2010 at 5:15

GoogleCodeExporter commented 9 years ago

Original comment by austin.c...@gmail.com on 24 Feb 2010 at 11:11