Customise i18n function. Enclose strings in double quotes and escape correctly.