Bug 226271 - Quoting of quotes and backslashes is incorrect
Summary: Quoting of quotes and backslashes is incorrect
Status: RESOLVED FIXED
Alias: None
Product: Babel
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P1 critical (vote)
Target Milestone: GANYMEDE   Edit
Assignee: Babel server inbox CLA
QA Contact:
URL: /babel/translate.php
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 07:59 EDT by Hendrik Maryns CLA
Modified: 2008-06-03 10:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Maryns CLA 2008-04-09 07:59:13 EDT
I see a lot of \ in my localized Dutch Eclipse.  When translating through the webinterface, I notice strings like the following:

'=\' operator

I am pretty confident this cannot be correct.  I suppose it should be \'=\'.

An easy workaround for this would be to enter the 21st century and use proper curled unicode quotes instead, so no more need for escaping: ‘=’
Comment 1 Hendrik Maryns CLA 2008-04-17 10:38:34 EDT
More cases: in the Breakpoint view in the debugging perspective:

AutomatonTester\ [ingang] - evaluation()

Note the \.  I suppose the relevant string looks like this: ‘\ [ingang]’.  I suppose the English one is ‘ [entry]’.  The backslashes seem to be added by the web interface when showing the original string.  Translators then are inclined to take them over, since they do not know what they are for.

I also see them in the ‘Type proposals’ popup which comes up in the Java Editor, even quoting totally innocent characters: ‘ListIterator\ -\java.util’
Comment 2 Denis Roy CLA 2008-05-15 13:53:41 EDT
Is this related to bug 227366?
Comment 3 Hendrik Maryns CLA 2008-05-15 14:45:37 EDT
(In reply to comment #2)
> Is this related to bug 227366?

Looks like it, although I don’t understand enough to be sure.

An example is the string searchCategories.updates.desc in org.eclipse.update.ui/plugin.properties.  It seems like this is not only due to linebreaks, although it could be.

Also, I notice that if I remove the backslashes in the translation, the result is formatted nicely in the preview in the middle, whereas if they are there, it is rendered as-is.
Comment 4 Denis Roy CLA 2008-06-02 13:40:28 EDT
Hendrik,

We think this is related to bug 222660.

Can you start launch a fresh copy of Eclipse and install the Dutch language
pack from this update site, and see if the problem is solved:

For Eclipse 3.4 :
http://build.eclipse.org/technology/babel/test-updates/ganymede/


Thanks
Comment 5 Hendrik Maryns CLA 2008-06-03 10:47:44 EDT
(In reply to comment #4)
> Hendrik,
> 
> We think this is related to bug 222660.
> 
> Can you start launch a fresh copy of Eclipse and install the Dutch language
> pack from this update site, and see if the problem is solved:
> 
> For Eclipse 3.4 :
> http://build.eclipse.org/technology/babel/test-updates/ganymede/

I’ve been testing with two 3.3 releases from this site and it looks fine on both.