Monday, January 31, 2011

Re: I18N compilation error

Do you have your resource properties file?

"Begin by creating a default properties file called MyConstants.properties in your GWT project. You can place the file anywhere in your module's source path, but the .properties file and corresponding interface must be in the same package. It's fine to place the file in the same package as your module's entry point class." http://code.google.com/webtoolkit/doc/latest/DevGuideI18nConstants.html#Constants

For example in com/google/gwt/i18n/client/Constants.properties containing

buttonText=Text of the button

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment