On Wed, Nov 27, 2013 at 10:46 AM, Thomas Broyer <email@example.com> wrote:
> On Wednesday, November 27, 2013 10:23:51 AM UTC+1, Raphael Bauer wrote:
>> we are currently translating one of our applications.
>> We are using regular properties files that generate a
>> com.google.gwt.i18n.client.Messages interface.
>> One "strange" thing for us is that our translation department has to
>> use double quotes to generate single
>> quotes in those files ('' => ').
> Note: it's not "a double quote" (U+0022) but "two single quotes" (U+0027
Actually that's what I meant - bad English lang skills I guess ;)
>> Of course we could use the Constants
>> interface, but this would not allow us to
>> use placeholders.
>> So I am wondering if I am missing something obvious. Is there a way
>> around the need to double the quotes all
>> the time?
> No. This constraint/feature comes from Java's own MessageFormat where U+0027
> has a special meaning.
> In other words, you'd have the same issue if you used MessageFormat in your
> Java code (server side, desktop app, mobile app, etc.)
Good to know...
Thanks for your answer!
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.