Re: GWT i18n - Dictionary message placeholders

2009-11-15 Thread TimP
Hi Jon, I have/had the same problem. I just wrote a wrapper for the Dictionary class. I'm surprised I couldn't find an easy way to do it. You can try this code if you want, although I don't guarantee its correctness or quality. It works like the dictionary class with the addition of the

Re: GWT i18n - Dictionary message placeholders

2009-11-14 Thread rjcarr
I'm not entirely sure what you're asking. A dictionary is obtained by parsing javascript objects (i.e., dictionary types). In your javascript you can parameterize your dictionaries all you want (as far as I know). As far as something more elaborate once the dictionary is built, I can't say I've

GWT i18n - Dictionary message placeholders

2009-11-13 Thread Jon Vaughan
Hi all, Just a quick query - is it possible to do placeholder substitution with messages obtained from a Dictionary? i..e into something like: permissionDenied = Error {0}: User {1} Permission denied. I couldn't see anything obvious in the doc or forums; does a Dictionary link in any way to a