Hi, I am a bit puzzled about this, is no one else facing this issue? How did you guys solve it?
According to the official Message Format javadoc from Oracle (http:// download.oracle.com/javase/6/docs/api/java/text/MessageFormat.html) the old trick with doubling the quotes should still work (quote): "Within a String, "''" represents a single quote. " but when I write the following property in my properties file: "foo = you can''t do this" the output will be "you can''t do this" - with 2 single quotes still present - instead of one according to the javadoc. Is this a gwt bug? thanks for any feedback, Dennis On Jun 25, 3:31 pm, googelybear <[email protected]> wrote: > Hi, > > I am developing a multi locale app and as described in many posts > (e.g. [1] or [2]) so far I have always put 2 quotes when I wanted a > single quote to appear in the output in my language properties files > (e.g. "that''s right" will become "that's right"). This was very > annoying for translators and often got forgotten, meaning I had to fix > it manually. But it worked. > > Now I received a bug report from the client stating that all quotes > are printed twice on the website (which turned out to be true). > > I will now go back and replace all the double quotes with single > quotes again. > > I don't know in which version of GWT that changed (I suspect 2.2 or > 2.3). > > Did others also experience the same issue? If so, why have we not been > warned about this change by the GWT team? If not, do you have any idea > what could have caused this? > > thanks, > Den > > [1]http://groups.google.com/group/google-web-toolkit/browse_thread/threa... > [2]http://groups.google.com/group/google-web-toolkit/browse_thread/threa... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
