[feature/migrations] Use the user class for language handling

Also localise error messages from the migrator

PHBB3-9737