Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
In order to start a string definition with a preceding space in Appcelerator i18n strings.xml file you need to escape the space. Bare in mind however you cannot add the javascript space character \s but simply \ will work.
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<string name="start_with_space">\ I have a space before me.</string>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.