Hi everybody,

we are trying to generate i18n interfaces from our property files via
the com.google.gwt.i18n.tools.I18NCreator. In principle it works
perfectly fine.

But there is one thing that does not work: Generating the interface
from plural forms [1] using com.google.gwt.i18n.tools.I18NCreator .

Something like:

cartItems=There are {0,number} items in your cart.
cartItems[one]=There is {0,number} item in your cart.

should become:

@DefaultLocale("en") // not required since this is the default
public class MyMessages extends Messages {
  @DefaultText("There are {0,number} items in your cart.")
  @PluralText({"one", "There is 1 item in your cart.")
  String cartItems(@PluralCount int itemCount);
}

...but does not get converted in an interface.

Does anybody know if that’s our fault or just not supported
com.google.gwt.i18n.tools.I18NCreator (GWT 2.3)?


Thanks a lot,

Raphael


[1] 
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideI18nPluralForms.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to