g11n@glassfish.java.net

Re: Question about original english string

From: Pierrot <Pierre-Antoine.Berreur_at_Sun.COM>
Date: Mon, 15 Jun 2009 09:28:28 +0200

Hi Pavel.

It might be the case that those messages are parsed through a
MessageFormat class in java.
In this case, apostrophes need to be doubled, in order not to break the
code.
This link might be helpful:
http://blogs.sun.com/byuan/entry/best_practices_of_handling_apostrophes

Hope this helps.

Regards.

--- Pierre



Le 15/06/09 05:08, Pavel Vinogradov a écrit :
> Hello.
>
> During translation glassfish i found strings like:
>
> I don''t understand the format of this jvm-option
>
> This string contain two inverted commas instead of one. Currently i
> know about near 10 such string.
>
> I don't sure that this is bug, because it occur too often. Also i
> check that two inverted commas in " don''t " presented in properties
> file in glassfish repository.
>
> Can anybody clarify is this bug or feature?
>
>