Last modified: 2013-03-05 09:21:41 UTC
Hi! I have two custom namespaces in my mediwiki, NS_F01 and NS_F02. But when I am about to translate a page that belongs to one of the custom namespaces the translate message definition is missing in the pop-box. (See attachment) Doesn´t translate extension support custom namespaces? I have tried to add the namespaces to $wgTranslateMessageNamespaces but that doesnt change anything. $wgTranslateMessageNamespaces = array(NS_MEDIAWIKI,NS_MAIN,NS_F01,NS_F02); Thanks in advance, Karin
Created attachment 11392 [details] No Message definition
It looks like message index is outdated. Can you try running the following command: php extensions/Translate/scripts/createMessageIndex.php
Sorry, no change after running script. I did some more testing and found wfAddnamespace (wfAddnamespace(100, 'F01') function and now the message defintions are displayed. Is this the way you must do to use custom namespaces in translate? //karin
Page translation should work perfectly well in custom namespaces without any extra configuration. I have not been able to reproduce this problem.
Closing this as WFM per comment 4. Please reopen if there is a scenario to reproduce.