[Mediawiki-i18n] Internationalizing project names

Erik Bernhardson ebernhardson at wikimedia.org
Wed Sep 16 02:58:42 UTC 2015

Yes we are intending to show them in the interface language, the problem is
the number of messages. The config repo for mediawiki at wmf has 879
projects. There are 369 translation languages. That means if we use the
standard i18n approach there will be (maximum) 324k translated strings for
this one UI element. At the very least if we did go that way we should
probably do that in a way that is usable in more than just this one
specific UI element.

On Tue, Sep 15, 2015 at 7:44 PM, gfb hjjhjh <c933103 at gmail.com> wrote:

> How about translating them in the same way as interface language? Is it
> feasible? I think people would expect such a message show in same language
> as their interface language instead of content language.
> 2015/09/16 10:00 "Erik Bernhardson" <ebernhardson at wikimedia.org>:
>> Here are two ideas from talking to a few people, I'm not sure either is
>> the right approach though
>> First is to use CLDR to convert russian -> russische, and and plug that
>> into an i18n message. This would have to be in WikimediaMessages and
>> override a message without wikipedia. This feels awkward and will likely be
>> wrong with with some language pairs.
>>     Showing results from the $1 wikipedia
>> Idea 2 comes from observing that we are initially able to detect 50
>> languages and are only mapping to a primary wikipedia for each language. We
>> could make 50 matching i18n messages in WikimediaMessages with a fallback
>> to a generic message.
>> Search-results-from-enwiki: Showing results from the English Wikipedia
>> Search-results-from-frwiki: Showing results from the French Wikipedia
>> Etc.
>> This will have scaling issues as we integrate wiktionarys and other
>> projects but is less than a thousand messages so is feasible.
>> On Sep 15, 2015 3:34 PM, "Erik Bernhardson" <ebernhardson at wikimedia.org>
>> wrote:
>> >
>> > Within search we are moving forward with cross-wiki searching.
>> >
>> >
>> > This means if you go to de.wikipedia.org and search for
>> ''Ревест-Сен-Мартен" we should show a message like:
>> >
>> >> No results found on the German Wikipedia
>> >>
>> >> Showing results from the Russian Wikipedia
>> >
>> >
>> > Except of course, it should be (beware machine translation):
>> >
>> >> Keine Ergebnisse auf dem deutschen Wikipedia gefunden
>> >> Zeige Ergebnis aus der russischen Wikipedia
>> >
>> >
>> > So somehow, we have to map from a wiki id (ruwiki, enwiki, dewiki, etc)
>> to a localized (not for that wiki, for every other wiki in all languages)
>> version of that project name. How can we go about this?
>> >
>> _______________________________________________
>> Mediawiki-i18n mailing list
>> Mediawiki-i18n at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
> _______________________________________________
> Mediawiki-i18n mailing list
> Mediawiki-i18n at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/mediawiki-i18n/attachments/20150915/b3aa4b6a/attachment.html>

More information about the Mediawiki-i18n mailing list