Translations:Manual:Extension registration/29/en

You can specify a 'callback' key in your  if you need to execute some PHP code.