Translations:Extension:CustomData/33/en

You can use the SkinTemplateOutputPageBeforeExec hook for triggering your function.