Last modified: 2013-03-26 11:25:06 UTC
The search result texts cannot be tranlated by the usual MediaWiki: messages nor LanguageXX.php file means. Furthermore I haven't find an alternative way of doing it, e.g. I cannot find the "Relevancy" text in the CVS lucene-search source code.
Sorry, I didn't test in a recent version. Now it is possible to translate these messages in MediaWiki: namespace, but should be a way of tranlating the messages for every MediaWiki installation, as it does in LanguageXX.php.
If there's a MediaWiki namespace message for it, then a default translation can be provided in the LanguageXX.php files as of now.
(In reply to comment #2) > If there's a MediaWiki namespace message for it, then a default translation can > be provided in the LanguageXX.php files as of now. Extension messages or general extension code doesn't belong in the main distribution at all, because that kind of defeats the whole point of making them extensions. The correct way to solve this is to modify the message cache insertation functions to support things like ->addMessage( 'msg/lang', 'msg' ); This is probably a duplicate of some other bug...
Is there a way to translate those messages for every installation of MediaWiki that uses those extensions? or do we currently have to translate the MediaWiki messages in every site through the MediaWiki namespace? Where is the CVS file to update for translations of each extension if existent?
reply to comment #4) > Where is the CVS file to update for translations of each extension if existent? Here it is: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/LuceneSearch/LuceneSearch.i18n.php
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]