Add a hook that is called before a translation is performed