Page MenuHomePhabricator

Issue with updating es-419 translations for the payments form on translatewiki
Closed, ResolvedPublic2 Estimated Story Points

Description

Hi,

For the payments form, there is a problem where we are not able to update es-419 translations on translatewiki any more. Could you please advise? Thanks!

Screenshot 2025-02-05 at 20.52.17.png (579×1 px, 96 KB)

Event Timeline

@Nikerabbit I wanted to ask you about this as well - When we updated payments to MW 1.43 I had to disable a test that explicitly forbade adding an es-419 language file in a hook. We really want to be able to show different messages to LATAM vs Spain donors, and to store their specific language preference in the CiviCRM database. Is there another supported way to do that?

BTW, seems es-419 is the same as es-formal in civi

Adding @Raymond in case he knows anything about this

I believe translation admins are able to edit any language.

I'm confused by the report however. Is this about translating in translatewiki.net or something about MediaWIki core?

I believe translation admins are able to edit any language.

I'm confused by the report however. Is this about translating in translatewiki.net or something about MediaWIki core?

I believe @TomaszGorski was on translatewiki.net, trying to translate a message in the DonationInterface extension.

Yes, it was on translatewiki.net (it's actually my screenshot)

Okay. I'm pretty sure this is an issue with the Translate extension handling of language inclusion list which has broken (or never worked properly). We'll investigate more.

Change #1120510 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/extensions/Translate@master] Allow translating to languages explicitly enabled in group configuration

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

Nikerabbit set the point value for this task to 2.

Change #1120510 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Allow translating to languages explicitly enabled in group configuration

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

Works fine now, thank you!