Fixed issues introduced by missing URL encoding

When translation terms were passed to the backend, common problematic characters were not escaped and caused issues in the translation files.