Refactors translation to make them overwritable