Translations:Manual:Using custom namespaces/49/en

So extensions should bind the hook at file scope (in MyExtension.php) and check there whether the wiki should activate the extra namespace or not.