Last modified: 2013-03-26 11:25:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6487, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4487 - No way to translate search results texts
No way to translate search results texts
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-04 23:02 UTC by Manuel G. R.
Modified: 2013-03-26 11:25 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Manuel G. R. 2006-01-04 23:02:08 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.
Comment 1 Manuel G. R. 2006-01-04 23:12:56 UTC
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.
Comment 2 Rob Church 2006-01-05 07:42:20 UTC
If there's a MediaWiki namespace message for it, then a default translation can
be provided in the LanguageXX.php files as of now.
Comment 3 Ævar Arnfjörð Bjarmason 2006-01-08 03:48:42 UTC
(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...
Comment 4 Manuel G. R. 2006-01-08 12:59:23 UTC
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?
Comment 5 Jimmy Collins 2006-08-05 12:36:30 UTC
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
Comment 6 Andre Klapper 2013-03-26 11:25:06 UTC
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links