fix whitespace characters in translation