Where to locate languages names in Wikipedia sidebar

From Support
Jump to navigation Jump to search

Where to locate languages names in Wikipedia sidebar

Hi. I'm an admin from the Western Frisian Wikipedia (fywiki). If you go there, you'll see in the sidebar at the left side of your screen Wikipedias in other languages listed, under the heading "Yn oare talen". If you pause your cursor on a language name a message appears consisting of the page name in the other language and the name of the other language. So, for instance, if you place your cursor on "English" the message says: "Main Page – Ingelsk". My question is about the language names in those messages. In the Western Frisian Wikipedia those language names are riddled with mistakes. Half of them are in Dutch in stead of Western Frisian, and most of the rest are misspelled. This annoys me to no end. However, my search to locate these language names so I can correct them has been unsuccessfull so far. I suspect they have to be stored somewhere on TranslateWiki. Could you tell me where to find them, or if they're not stored here, direct me to the correct site? Thank you in advance. Ieneach fan 'e Esk (talk) 22:07, 29 June 2020 (UTC)

Ieneach fan 'e Esk (talk)22:07, 29 June 2020

Except for the autonyms (language names in these languages themselves), also returned by the {{#language:code}} parser function of Mediawiki to get these autonyms, which are resolved in a static PHP class:

https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/languages/data/Names.php

all translated language names come from CLDR data. CLDR data is also used if autonyms are not found in this class (which is a local override of CLDR). This is also applies to {{#language:code|fy}} parser function of Mediawiki to get language names in Western Frisian

For Western Frisian see (last published version is v37):

https://unicode-org.github.io/cldr-staging/charts/37/summary/fy.html

If translated names are missing, fallbacks are used, and so they will use the normal BCP47 rules for Western Frisian and will fallback to Dutch, otherwise to English.

To solve it, go to CLDR and start translating and vetting missing names (it is open today) (you need to register a translator account there).

http://cldr.unicode.org/index/survey-tool

After a new CLDR version will be published, and new names were vetted successfully, they will be loaded in Wikimedia with the CLDR data update...

Verdy p (talk)03:18, 30 June 2020

Thanks, Verdy p. That is very helpful. This stuff is hidden pretty good. I don't think I would ever have found it on my own.

Ieneach fan 'e Esk (talk)09:43, 30 June 2020

It's not hidden, but Wikimedia decided to not maintain these translations by itself. There are over 7000 languages in ISO 639 (not counting variants), and translating all pairs would require over 49 millions translations (this is a huge work: best to work with international contributors and not just inside Wikimedia or this small wiki), so fallbacks are used, and BCP 47 rules are used.

Note that CLDR still does not support localisation to all these languages, but it supports a lot (and at least those supported in this wiki and in Wikimedia). Other languages may be requested to the CLDR TC at Unicode. But you need convincing arguments (e.g. there exists a demonstrated need for contents, such as a wiki on Wikimedia or Omegawiki, or other softwares or text catalogs).

Some languages can also be requested here if they have a test wiki in Wikimedia Incubator (for that you need to contact the Wikimedia admins on Wikimedia Incubator, and in the Wikimedia Languages Commitee, but opening a new Incubator is easy; this does not mean that it can be done without taking care of the technical infrastructure of Wikimedia Incubaor; the Incubator has lot of test wikis that are not maintained and will never bring the creation of a new wiki edition for Wikipedia or Wiktionary).

But creating a test wiki in Incubator or Omegawiki can be done even before support for the language is added here. Once this test wiki starts being helpful, you can come here to request translting the UI and then contact Wikimedia Incubator admins or Omegawiki admins so that they import the translations made here, and separately you can request to CLDR TC to start translations too (but CLDR is very slow for its versioning, about one edition each year, and the process is very long and it requires enough vetters and convincing sources and support by more than just a single translator).

Verdy p (talk)17:53, 30 June 2020