Liquidsoul / LocalizationConverter

A command-line tool to convert mobile localization files
MIT License
15 stars 4 forks source link

Converter does not support double quotes (") in localized values #4

Closed Liquidsoul closed 8 years ago

Liquidsoul commented 8 years ago

Converter does not escape " characters when formatting Localizable.strings files. Note that there is no error but that the Localizable.strings files cannot be parsed by Xcode when used. You can check this by running plutil on the file.

Example of incorrectly converted strings.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<resources>
    <string name="double_quoted_value">Click "This"</string>
</resources>