Typos in russian description for package libxml2

Bug #1161743 reported by Eugene Evdokimov
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Low
Russian Ubuntu Translators
ddtp-translations (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description text for libxml2 package in Ubuntu Update Manager contains two typos (see screenshot):

1. "XML написан на SGML, международным стандартном метаязыке" should be "XML написан на SGML, международном стандартном метаязыке"

2. "для работы файлами" should be "для работы с файлами"

Tags: l10n
Revision history for this message
Eugene Evdokimov (eugene-evdokimov) wrote :
Changed in ubuntu-translations:
assignee: nobody → Russian Ubuntu Translators (ubuntu-l10n-ru)
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Dmitry Shachnev (mitya57) wrote :
Changed in ubuntu-translations:
status: Triaged → Fix Released
Revision history for this message
Leo (llenchikk) wrote :

@Dmitry Check please status.
I think it should be "Fix Committed" (Fixed, but not available until next release.), not "Fix Released".

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This really doesn't matter (as "Ubuntu Translations" project has no releases, unlike Ubuntu itself), but changed if you prefer. Somebody will need to close it when the new language packs are built…

Changed in ubuntu-translations:
status: Fix Released → Fix Committed
Revision history for this message
vofka (vofka) wrote :

No changes in 18.04. Old translation used.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Hmm.. Adding a ddtp-translations task to this report. Sounds like there is a need to dig deeper into it.

Revision history for this message
vofka (vofka) wrote :

Any news? When I run "apt show" I don't see translations for any package anymore. However, if I copy mirror_ubuntu_dists_bionic_main_i18n_Translation-ru to mirror_ubuntu_dists_bionic-updates_main_i18n_Translation-ru I can see translations for packages from any component (main, universe, restricted, multiverse). Looks like a bug in APT.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@vofka: Good catch. I played with an equivalent file on groovy for Swedish, and it looks like apt (apt-cache) only looks for groovy-updates_*_i18n files while ignoring the groovy_*_i18n ones. And no localized groovy-updates_*_i18n files are present; only English files are:

/var/lib/apt/lists$ ls -1 *ubuntu_dists_groovy-updates_*_i18n*
archive.ubuntu.com_ubuntu_dists_groovy-updates_main_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_groovy-updates_multiverse_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_groovy-updates_restricted_i18n_Translation-en
archive.ubuntu.com_ubuntu_dists_groovy-updates_universe_i18n_Translation-en

I don't know how this is supposed to work exactly.

@Sebastien: Can you shed some light on it?

Revision history for this message
Sebastien Bacher (seb128) wrote :

The recent comments sound like a different issue from the original report

The translated indexes are coming from the server but it seems the updates directory are buggy
http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/i18n

Let's see if the launchpad people understand better what's going on there

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Right, the latest comments are unrelated to the original issue.

I renamed the ubuntu_dists_groovy-updates_main_i18n file, and then apt found the Swedish translations from ubuntu_dists_groovy_main_i18n. So, based on how apt works, -updates files need to be present for all languages as long as the Translation-en -updates file is there.

The issue seems to be present on all the supported releases (and trusty and precise too...).

Revision history for this message
Julian Andres Klode (juliank) wrote :

This is incomplete, APT deduplicates descriptions based on the description hash, so if the description is the same, barring a bug in apt, it should be available for both versions. Without seeing an apt-cache showpkg of the affected package, we can't really tell. It seems to work for me, but I also see a suspicious breaks in the code.

With regards to translations for updates, we probably should start uploading new ddtp tarballs with point releases, like we do with language packs. This will then also provide additional translations for packages in the release pocket.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Julian: Today, after the latest apt update, it behaves differently compared to what I wrote in comment #8 and #10. Now I'm not able to even work around the issue to make apt-cache use the Swedish description.

Anyway, I attached a file with some commands to demonstrate the issue.

Revision history for this message
Julian Andres Klode (juliank) wrote :

I cannot reproduce that issue from #11

# apt install locales-all # get the locale
# export LANG=sv_SE.UTF-8
# locale
LANG=sv_SE.UTF-8
LANGUAGE=
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER="sv_SE.UTF-8"
LC_NAME="sv_SE.UTF-8"
LC_ADDRESS="sv_SE.UTF-8"
LC_TELEPHONE="sv_SE.UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=
# apt update
# apt-cache show tasksel | grep Desc
Description-sv: tool for selecting tasks for installation on Debian systems
Description-md5: cbbb747708986d11ea77c80b9b038fec
# apt-cache showpkg tasksel
Package: tasksel
Versions:
3.34ubuntu16 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_groovy_main_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_groovy_main_binary-amd64_Packages
                  MD5: cbbb747708986d11ea77c80b9b038fec
 Description Language: sv
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_groovy_main_i18n_Translation-sv
                  MD5: cbbb747708986d11ea77c80b9b038fec
 Description Language: en
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_groovy_main_i18n_Translation-en
                  MD5: cbbb747708986d11ea77c80b9b038fec
[...]

Revision history for this message
Julian Andres Klode (juliank) wrote :

OK I believe what has happened here is that you are running mixed-locale systems, and the cache was generated with en_US or C locales. If you run mixed language systems, you have to set

Acquire::Languages { "language code 1"; "language code 2"; ... };

e.g.

Acquire::Languages { "sv_SE"; "sv"; en"; "none"; };

in your apt.conf(.d) so that all languages are always downloaded and incorporated in the cache.

Anyway, should we open a new bug against apt or do you want to repurpose this bug from the original bug report?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

For the record we had an IRC conversation here:

https://irclogs.ubuntu.com/2020/12/11/%23launchpad.html

I think it makes more sense to open a new apt bug. Not quite sure at the moment what the issue is, though...

As said on IRC, I'll do some tests later. If you already know what a proper bug summary would be, please go ahead and create a new bug.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Julian filed bug #1907850 to continue the investigation of the apt-cache/locale issue discussed above as from comment #7.

Revision history for this message
vofka (vofka) wrote :

[1] 2013.04.02 15:11 UTC - the strings from the report were translated in Quantal's template.
[2] 2013.04.02 18:31 UTC - the ddtp-pot-raring branch was updated, so it was imported to LP database.
[3] 2013.04.03 05:47 UTC - export from LP to the ddtp-quantal branch (revision 145).
Normally, it is expected that translations from [1] appear in [3], but they didn't. Also, they didn't appear in any of subsequent exports from LP to the ddtp-quantal and ddtp-raring branches. More over, [3] changed translations to versions from revision 3 of the ddtp-pot-raring branch, i.e. to those from Debian.
Probably import from [2] somehow interferes with translations in [1].
[2] https://bazaar.launchpad.net/~ubuntu-core-dev/ddtp-ubuntu/ddtp-pot-raring/changes
[3] https://bazaar.launchpad.net/~ubuntu-core-dev/ddtp-ubuntu/ddtp-quantal/revision/145/main/ru.po#main/ru.po

Anyway, Debian now has correct translation [4] which was imported to the ddtp-pot-* branch [5] and Focal's Translation-ru file contains correct translation. So, I think we could close this report.
[4] https://ddtp.debian.org/ddt.cgi?desc_id=9401&language=ru
[5] https://bazaar.launchpad.net/~ubuntu-core-dev/ddtp-ubuntu/ddtp-pot-hirsute/revision/56/main/ru.po#main/ru.po

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for the follow-up, vofka. Closing then.

Changed in ddtp-translations (Ubuntu):
status: New → Fix Released
Changed in ubuntu-translations:
status: Fix Committed → Fix Released
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.