Page MenuHomePhabricator

Incorrect name for Norwegian Bokmål in the Android App
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Open the app
  • Search for something
  • In the language bar that appears below the search box, press "more"
  • Add the language "Norsk bokmål" ("Norwegian") to your list of languages

What happens?:

  • In the language selection list, the English name for the language is "Norwegian", when it should be "Norwegian Bokmål"
  • After selecting it as one of your languages, it appears in the language bar below the search box. However, here it is also labeled as "Norwegian"

What should have happened instead?:

  • It should be labeled as "Norwegian Bokmål" in English

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
App version: 2.7.50515-r-2024-12-16

Other information (browser name/version, screenshots, etc.):

photo_2025-01-23_10-05-35.jpg (1×576 px, 63 KB)

photo_2025-01-23_10-05-35 (2).jpg (1×576 px, 21 KB)

Event Timeline

@jhsoby We receive the list of language names from the sitematrix API:
https://en.wikipedia.org/w/api.php?action=sitematrix&smtype=language&smlangprop=code%7Clocalname&formatversion=2

The above API call gives "Norwegian" as the name associated with the no language code.

But also, in our most recent update, we updated how we display the names of languages anyway, to use local names instead of English names (T383150), so the language name should appear as "Norsk bokmål" now.

@jhsoby We receive the list of language names from the sitematrix API:
https://en.wikipedia.org/w/api.php?action=sitematrix&smtype=language&smlangprop=code%7Clocalname&formatversion=2

The above API call gives "Norwegian" as the name associated with the no language code.

Yeah, the no/nb thing is a mess. Sorry about that. 😅 For Wikipedia purposes, no === nb, so if possible, it would be nice to fix that. I see there are already some customization for that, but it apparently doesn't apply to everything.

But also, in our most recent update, we updated how we display the names of languages anyway, to use local names instead of English names (T383150), so the language name should appear as "Norsk bokmål" now.

I don't think my version is that recent, but will the English name still be displayed underneath the autonym when adding a new language? Because that would still need to be changed (though that is of course much less prominent than what made me start this task).

photo_2025-01-23_17-08-27.jpg (1×576 px, 28 KB)