[enhancement] Internationalization (i18n) and localization (l10n) of error messages

Bug #1431190 reported by Daniel van Vugt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Triaged
Medium
Unassigned
mir (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Mir's error messages from protocol responses are hard-coded by the server. This has two problems:
  1. Languages other than English are not supported.
  2. The locale of the client process is ignored.

Mir's protocol should be modified to return generic error codes which can then be converted to strings in the client process's current language. Like errno and strerror() do.

Related branches

Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.22.0

Changed in mir:
status: Triaged → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's just a related branch. As far as this bug goes, that actually made the problem bigger.

Changed in mir:
status: Fix Committed → Triaged
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.