Fixed problem with wrong encoding.
Improved performance for translations.