I\'ve developed a GWT app using i18n internationalization. In Host/Dev mode it works fine, but launching GWT compile gives this error: No resource found for key xxx, like be
also 2 important things (see docs):
In order to use internationalized characters, make sure that your host HTML file contains the charset=utf8 content type in the meta tag in the header:
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
You must also ensure that all relevant source and .properties files are set to be in the UTF-8 charset in your IDE.
I had a similar error once when using internationalization. I had properties files for English and Polish languages: labels_en.properties
and labels_pl.properties
. The solution was to create also a file labels.properties
(in my case it was just a copy of labels_en.properties
). It is weird but somehow it helped.
You should also keep your properties files in the same package as your RTEMessages
class.