Prevent spaces from being eaten by Transifex

Fixes #1276
Merge pull request #1298 from Frenzie/master

Language: prevent spaces from disappearing in localizations with util.template