Page MenuHomePhabricator

Localize error messages
Closed, ResolvedPublic2 Estimated Story Points

Description

Several error messages are in in English only. It should be made possible to localize them.

Event Timeline

Restricted Application added a project: archived--TCB-Team. · View Herald TranscriptDec 16 2019, 10:15 AM
Ammarpad triaged this task as Low priority.

Change 574161 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/extensions/FileImporter@master] FileImporter: Localize error messages

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

thiemowmde set the point value for this task to 2.
thiemowmde added subscribers: awight, WMDE-Fisch, thiemowmde.

Note that the patch https://gerrit.wikimedia.org/r/574161 leaves an issue behind: Now these errors will show up in our server-side log files in the users language. They should always be English there, and only localized in the UI. This should be fixed before closing this ticket.

Change 574161 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] FileImporter: Localize error messages

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

Change 597221 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/FileImporter@master] Mark unwanted localization of log messages with a FIXME

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

Change 597285 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/extensions/FileImporter@master] Always send application log messages in English

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

The above will force the logger error in English and respect the necessary message fallback chain for the UI

Change 597285 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] Always send application log messages in English

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

Change 597221 abandoned by Thiemo Kreuz (WMDE):
Do not localize log entries in HttpApiLookup

Reason:
Obsolete via I8f1e9ef.

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

thiemowmde closed this task as Resolved.May 26 2020, 11:54 AM
thiemowmde moved this task from Demo to Done on the WMDE-QWERTY-Sprint-2020-05-13 board.