Page MenuHomePhabricator

Add language names for "be" and "be-tarask" in LocalNamesSv.php
Closed, ResolvedPublicBUG REPORT

Description

Currently, e.g. Wikidata language lists and functions like the magic word "{{#language: }}", display the Swedish language name for language code "be" as "vitryska", when it should say "belarusiska". The language name for "be-tarask" is displayed as "Belarusian (Taraškievica orthography)", when its Swedish name should be "belarusiska (tarasjkevitsa)". Note sv:Belarusiska and sv:Tarasjkevitsa.

Examples of what happens currently:

  • {{#language:be|sv}} => vitryska
  • {{#language:be-tarask|sv}} => Belarusian (Taraškievica orthography)

What should happen instead?:

  • {{#language:be|sv}} => belarusiska
  • {{#language:be-tarask|sv}} => belarusiska (tarasjkevitsa)

Please add to $languageNames in LocalNamesSv.php :

		'be' => 'belarusiska',
		'be-tarask' => 'belarusiska (tarasjkevitsa)',

Event Timeline

@JohanahoJ As "be" as "vitryska" comes from the Unicode project CLDR, I suggest that you open a ticket to change the Swedish translations in the Unicode project. This is the primary way to fix the issue. Please add the Unicode ticket number here, so that we can add it as comment to LocalNamesSv.

Until the ticket is fixed we can add the new translation as requested by you to LocalNamesSv.

Please add the Unicode ticket number here, so that we can add it as comment to LocalNamesSv.

Ok. Ticket number for "be" is CLDR-16876.

Change 938380 had a related patch set uploaded (by Raimond Spekking; author: Raimond Spekking):

[mediawiki/extensions/cldr@master] Add language names for "be" and "be-tarask" for Swedish (sv)

https://gerrit.wikimedia.org/r/938380

Ok. Ticket number for "be" is CLDR-16876.

There is also an older CLDR-14191

Change 938380 merged by jenkins-bot:

[mediawiki/extensions/cldr@master] Add language names for "be" and "be-tarask" for Swedish (sv)

https://gerrit.wikimedia.org/r/938380

Raymond claimed this task.