Some fixes for the translation system.