Translations:Manual:Hooks/707/en

Or use code below in $extension file (for newer approach of registering an extension):