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.
  +
  +
This is also true for the <nowiki>{{#language:}}</nowiki> parser function of Mediawiki.
   
 
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). 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...

Revision as of 03:20, 30 June 2020

Except for the autonyms (language names in these languages themselves), 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. 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.

This is also true for the {{#language:}} parser function of Mediawiki.

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...