Page MenuHomePhabricator

MinT not working for Bhojpuri in Content & Section Translation
Closed, ResolvedPublic

Description

When translating Wikipedia articles from English to Bhojpuri (example), MinT is not providing translations for the language.

The issue may be related to missmatch between the language codes:

  • The Bhojpuri Wikipedia uses the code bh
  • The MinT configuration uses bho
  • Section translation uses bho as the target language parameter
  • Content translation uses bh as the target language parameter
Mobile experience showing an error when MinT is usedMobile experience listing multiple translation options where only MinT shows emptyDesktop experience showing no MT services available
bh.m.wikipedia.org_w_index.php_title=Special_ContentTranslation&from=en&to=bho&page=Pilgrimage&sx=true(iPhone SE).png (1×750 px, 560 KB)
bh.m.wikipedia.org_w_index.php_title=Special_ContentTranslation&from=en&to=bh&page=Pilgrimage&sx=true(iPhone SE) (1).png (1×750 px, 81 KB)
bh.wikipedia.org_wiki_Special_ContentTranslation_title=Special_ContentTranslation&campaign=contributionsmenu&to=bh&from=en&page=Cam+Reddish(iPad Mini).png (1×2 px, 409 KB)

Event Timeline

Pginer-WMF triaged this task as Medium priority.Jul 3 2023, 1:51 PM

Bhojpuri seems to be working fine with our MinT test instance, so the issue is related to Cxserver/CX configuration here.

Change 935187 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/services/cxserver@master] MinT: Be agnostic to language code variations

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

Change 935187 merged by jenkins-bot:

[mediawiki/services/cxserver@master] MinT: Be agnostic to language code variations

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

Change 936391 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/deployment-charts@master] Update cxserver to 2023-07-06-065912-production

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

Change 936391 merged by jenkins-bot:

[operations/deployment-charts@master] Update cxserver to 2023-07-10-065135-production

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

Mentioned in SAL (#wikimedia-operations) [2023-07-10T08:47:42Z] <kart_> Updated cxserver to 2023-07-10-065135-production (T337719, T340989)

@Pginer-WMF This should be fix now (Tested with example article).

It works now. Thanks!!