On Wednesday, November 27, 2013 10:23:51 AM UTC+1, Raphael Bauer wrote:
>
> Hi,
>
>
>
> 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
U+0027)
> 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<http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html>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.)
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.