Difference between revisions of "Thread:Support/Where to locate languages codes in Wikipedia sidebar/reply"

From translatewiki.net
Jump to navigation Jump to search
m
m
 
Line 8: Line 8:
 
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.
 
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). 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...
+
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...

Latest revision as of 03:27, 30 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...