erickok / pastt

PASTT: PHP Android String Translation Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should escape ' to \'

erickok opened this issue · comments

Original issue from https://code.google.com/p/android-php-translator/issues/detail?id=34

Reported by sebastian.roth, Aug 22 (3 days ago)
When translators enter the ' character, the tool should automatically escape them to ' when exporting the xml file.

I've tried to get that to work but I couldn't. Admittedly my PHP skills are a bit rusty, but I welcome patches to get this to work properly. A solution would have to work regardless of whether PHP is configured with 'magic quotes' on or off.