Core: changes and bugfixes related to autotranslate