Question

I am translating a WordPress theme Magnovus using the default .po file in poEditor 1.6.3 on OSX Mavericks (free version). I got the following errors even when I copied the text over to the translation:

error invalid control sequence 

the string I am translating is

You must be <a href=\"%s\">logged in</a> to post a comment.

whether I copy it or translate it, I keep on getting this error.

I think the quotes are escaped properly here. Any ideas how to fix this?

Was it helpful?

Solution

This is a bug in Poedit 1.6.3 occurring for some (but curiously, not all) users on OS X Mavericks. It is related to OS X's Smart Quotes feature, which is on by default since 10.9.

It will be fixed in Poedit 1.6.4 and you can download a fixed build of 1.6.3 from http://www.poedit.net/dl/Poedit-1.6.3b.zip. You will need to manually fix the already-broken invalid translation to use \" (i.e. the "dumb quote"), but it won't happen again with 1.6.3b+.

(By the way: http://poedit.net/support.php)

OTHER TIPS

Testing with poEdit 1.6.4 (and MacOSX 10.9.2), these errors of invalid control sequence continue to occur randomly (after fuzzy procedure). The place of errors indicated by red lines in screen table is not good. The only way to repair is to used a text editor and replace \” by \" ! Question : is a way to stop automatic fuzzy suggestion ? M.

You should use: %s, not \"%s\".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top