GWT-StockWatcher: German translation of parameterized messages appears as English

1 view
Skip to first unread message

Angel Marquez

unread,
Nov 7, 2009, 9:42:58 PM11/7/09
to google-we...@googlegroups.com
I am here in the SW tutorial:

Completed, I think, the lesson; but, when I check in hosted mode:

The timestamp appears in English...

Any ideas? src attached.

Thank you in advance.

-Angel
gwt-SW-src.zip

Dalla

unread,
Nov 9, 2009, 4:48:08 AM11/9/09
to Google Web Toolkit
You cheated ;-)

In the tutorial, you create two separate properties files;
StockWatcherConstants_de.properties and
StockWatcherMessages_de.properties

But you have only created StockWatcherConstants_de.properties,
and in there you put both your static and generalized strings.

Try creating a StockWatcherMessages_de.properties aswell and put these
rows in there:

lastUpdate = Letzte Aktualisierung: {0,date,medium} {0,time,medium}
invalidSymbol = ''{0}'' ist kein gültiges Aktiensymbol.

and remove the same rows from StockWatcherConstants_de.properties
>  gwt-SW-src.zip
> 11KVisaHämta

Angel Marquez

unread,
Nov 9, 2009, 2:32:55 PM11/9/09
to google-we...@googlegroups.com

voilà!

Not only did that work it made sense. 
thank you!

Do you know of any other GWT resources that pertain to say Audio and Video streams?

regards.
Reply all
Reply to author
Forward
0 new messages