Page MenuHomePhabricator

When viewing articles from the Norwegian Bokmål Wikipedia in the Android app, interface messages are shown in English instead of Norwegian Bokmål
Closed, ResolvedPublicBUG REPORT

Description

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

  • Use Norwegian Bokmål as your interface language in Android
  • In the Android app, open the article "Niklas Rakos" on the Norwegian Bokmål Wikipedia (or in fact any article, but this one is very short and illustrates the issue well)

What happens?:
Background info: The Norwegian Bokmål translation of the Android app is almost 100 % complete, so this problem is not due to missing translations.

  • The chrome of the app is in Norwegian Bokmål, as it should be.
  • The text that appears in conjunction with the article, however, is in English (see screenshot).

What should have happened instead?:

  • All of the English-language text in the screenshot should be in Norwegian Bokmål, as it is already translated and has been for years.

BONUS SECTION: Why this happens:

  • This is yet another resurgance of our no/nb problems. The language code for the URL of the Norwegian Bokmål Wikipedia is no for historical reasons, while the content and interface language is actually nb. For that reason, all translations done on Translatewiki are in the language code nb. My hunch is that the app is looking for translations into no (because it's getting this article from no.wikipedia.org) and doesn't find any, and doesn't have the necessary fallback from no to nb and therefore shows English instead. So this can be solved in two ways: (1) Let the app know that no should fall back to nb before English, or (2) tell the app that no.wikipedia.org should be treated as if it were nb.wikipedia.org.

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-18-35.jpg (1×576 px, 70 KB)

English text that should be in Norwegian Bokmål:

  • Add article description
  • Quick Facts
  • About this article
  • View edit history
  • Updated $1 days ago
  • View talk page
  • Discuss improvements to this article
  • Read more

Event Timeline

Change #1114407 had a related patch set uploaded (by Dbrant; author: Dbrant):

[mediawiki/services/mobileapps@master] Hard-code 'no' domain to refer to 'nb'.

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

Change #1114407 merged by Cooltey:

[mediawiki/services/mobileapps@master] Hard-code 'no' domain to refer to 'nb'.

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