ubuntu-release-upgrader translation is broken focal

Bug #1871801 reported by Igor Zubarev
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Invalid
High
Unassigned
Focal
Invalid
High
Unassigned

Bug Description

ubuntu-release-upgrader package translation is broken.
I checked for Russian only. Don't know about other languages.

When I was doing partial upgrade of 20.04 I saw many strings not translated.
I found them in ubuntu-release-upgrader translation. They were translated in 2012 but now they show untranslated in interface!

"Do you want to start the upgrade?"
"To prevent data loss close all open applications and documents."
"%d packages are going to be removed."
"You have to download a total of %s."

Where are a lot of untranslated strings. I listed only some of them.
Also all strings in embedded terminal of ubuntu-release-upgrader completely untranslated!

update-manager has the same problem with embedded terminal output, which is completely untranslated.
I also added bug 1871800 for update-manager

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :
Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

Also see terminal output screen. I have it for update-manager, but for ubuntu-release-upgrader it is the same

description: updated
summary: - ubuntu-release-upgrader translation is broken
+ ubuntu-release-upgrader translation is broken focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
tags: added: rls-ff-incoming
Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → High
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

debconf prompts must be translated, not sure if we want logs translated or not. It's a trade off from user understanding it vs developers understanding it.

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

Dimitry, user can see the logs in embedded terminal. It will be more convenient for him to see messages in native language. This will make OS more user friendly. We make Ubuntu for average user, not only for geeks.

Also developers can see logs in special files. I don't think it's a big problem for them.

Revision history for this message
Brian Murray (brian-murray) wrote :

Dimitri's point is that the way things are currently setup both the messages displayed and logs are displayed in the *same* language, which happens to be English. The fact that the logs are in English makes it much easier for developers to sort out what it is going on and additionally consolidate duplicate bug reports in Launchpad.

tags: removed: rls-ff-incoming
Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

I understand his point but firstly it is strange that interface is partly in English and partly in Russian. Secondly, developers can use only English localization. What the problem in it?

If you want to leave embedded terminal untranslated may be better to hide it from user at all?

tags: added: id-5e988ef70738036981a92428
Revision history for this message
Lukas Märdian (slyon) wrote :

The change was introduced on purpose, back in June 2011, when this was still part of the 'update-manager' package:
https://bazaar.launchpad.net/~ubuntu-core-dev/update-manager/main/revision/2140

Since then the corresponding code moved into the 'ubuntu-release-upgrader' package, where it resides today:
https://git.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/tree/DistUpgrade/DistUpgradeViewGtk3.py#n294

In the end we have to decide about whether it is more important to have the dpkg messages translated or be able to duplicate bug reports...

But here seems to also be another problem, which is unrelated to DPKG messages. The strings Igor mentions, such as "Do you want to start the upgrade?", which are displayed in the GUI, are part of the 'ubuntu-release-upgrader' code, not dpkg.

IMO it would be okay, or even appropriate, to show english strings/translations in the (embedded) terminal, as this is hidden by default and supposed to be used by advanced users, only.

However, the strings displayed in the main GUI should be displayed in the user's selected native language whenever possible.

Revision history for this message
Lukas Märdian (slyon) wrote :

After doing some more testing, I am not able to reproduce the problem... After installing the russian language pack and running 'LANGUAGE=ru_RU.UTF-8 update-manager -d' everything is displayed as expected (see screenshot).

Could you please verify the package versions you've been using? Here are mine:
#:~$ dpkg -l | grep update-manager
ii python3-update-manager 1:20.04.10 all python 3.x module for update-manager
ii update-manager 1:20.04.10 all GNOME application that manages apt updates
ii update-manager-core 1:20.04.10 all manage release upgrades
#:~$ dpkg -l | grep ubuntu-release-upgrader
ii ubuntu-release-upgrader-core 1:20.04.19 all manage release upgrades
ii ubuntu-release-upgrader-gtk 1:20.04.19 all manage release upgrades

Lukas Märdian (slyon)
Changed in ubuntu-release-upgrader (Ubuntu Focal):
status: Confirmed → Incomplete
Changed in ubuntu-release-upgrader (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

Hi Lukas! Now I have the same versions!

Maybe it was a bug when I made upgrade during Beta 20.04.
How can I test it?

Revision history for this message
Lukas Märdian (slyon) wrote :

Hi Igor! Yes, possibly a beta bug.

Can you confirm you see the correct, Russian translations inside the GUI, if running `update-manager -d`? Especially for the broken strings you mentioned before?
"Do you want to start the upgrade?"
"To prevent data loss close all open applications and documents."
"%d packages are going to be removed."
"You have to download a total of %s."

Embedded terminal will still be English, but that is supposed to be that way.

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

Hi Lukas! I tried `update-manager -d` in 20.04 for update to Gorilla. I checked for these strings. Now it's all correct. See attach.

Revision history for this message
Lukas Märdian (slyon) wrote :

Thank you very much for the feedback. Considering this Fixed.

Lukas Märdian (slyon)
Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Invalid
Changed in ubuntu-release-upgrader (Ubuntu Focal):
status: Incomplete → Invalid
Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

It seems bug still exists. Today in 20.04 I got partial upgrade message. The same strings still untranslated. See attached screen

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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