Moved localization from core to framework