Available from version ???
Allows to customize headers of exported Gettext files per group. Certain X-headers nor Plural-Forms cannot be customized.
Define function:
public static function onTranslate_GettextFFS_headerFields( &$headers, $group, $code ) { ... }
Attach hook:
$wgHooks['Translate:GettextFFS:headerFields'][] = 'MyExtensionHooks::onTranslate_GettextFFS_headerFields';
Called from:File(s): Translate / ffs/GettextFFS.php
Function(s): doGettextHeader

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:Translate:GettextFFS:headerFields extensions.

Details edit

  • array &$headers: List of prefilled headers. You can remove, change or add new headers.
  • MessageGroup $group: Message group instance
  • string $code: Language code