Chromium's LP translations overwritten by imports

Bug #760512 reported by Jiri Grönroos
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned
Ubuntu Translations
Invalid
Low
Unassigned
chromium-browser (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: chromium-browser

In Finnish translation, import always overwrites changes made in Launchpad. This has been happening for a while (many weeks) now.

Import basically sets LP changes as suggestions. These changes are mostly corrections to translation bugs which have been marked as new for years on Google's issues tracker.

The following strings are great examples of this problem:

253
774
1049
1197
1211
1735
2146

This bug basically makes corrections useless as they are always overwritten.

Revision history for this message
Jiri Grönroos (jiri-gronroos) wrote :
Revision history for this message
Jiri Grönroos (jiri-gronroos) wrote :

Template “generated-resources”

https://translations.launchpad.net/chromium-browser/translations/+pots/generated-resources/fi

IDs of those lines marked above:

Located in id: 1665770420914915777 (used in the following branches: trunk, dev, beta, stable)

Located in id: 3037605927509011580 (used in the following branches: trunk, dev, beta, stable)

Located in id: 376466258076168640 (used in the following branches: trunk, dev, beta, stable)

Located in id: 4121428309786185360 (used in the following branches: trunk, dev, beta, stable)

Located in id: 4178055285485194276 (used in the following branches: beta, stable)

Located in id: 5578327870501192725 (used in the following branches: trunk, dev, beta, stable)

Located in id: 6691936601825168937 (used in the following branches: trunk, dev, beta, stable)

summary: - LP translations overwritten by imports
+ Chromium's LP translations overwritten by imports
Revision history for this message
Jiri Grönroos (jiri-gronroos) wrote :

LP translations still get overwritten by imports.

Revision history for this message
Fabien Tassin (fta) wrote :

I just wrote a tiny script to look for the string history into the branch i feed to Launchpad:

1st string:

$ ./string-history.sh generated_resources fi 1665770420914915777
Looking for history of string id 1665770420914915777 in generated_resources/fi.po...
Current rev: 194
=====================
108: Fabien Tassin 2011-01-30 * Merge all channel branches

#. IDS_OPTIONS_HOMEPAGE_USE_NEWTAB
#. - description: The title of the 'Use the New Tab page' for the home page radio
#: id: 1665770420914915777 (used in the following branches: trunk, dev, beta, stable)
msgid "Use the New Tab page"
msgstr "Käytä Uusi välilehti-sivua"
=====================
107: Fabien Tassin 2011-01-30 * Strings update for 11.0.654.0 r73098

#. IDS_OPTIONS_HOMEPAGE_USE_NEWTAB
#. - description: The title of the 'Use the New Tab page' for the home page radio
#: id: 1665770420914915777 (used in the following branches: default)
msgid "Use the New Tab page"
msgstr "Käytä Uusi välilehti-sivua"
=====================

I see nothing wrong here.

Revision history for this message
Fabien Tassin (fta) wrote :

Same for the 2nd

$ ./string-history.sh generated_resources fi 3037605927509011580
Looking for history of string id 3037605927509011580 in generated_resources/fi.po...
Current rev: 194
=====================
108: Fabien Tassin 2011-01-30 * Merge all channel branches

#. IDS_SAD_TAB_TITLE
#. - description: The title of the sad tab page that is shown when a tab crashes. This is intended to be a humorous exclamation of dismay.
#: id: 3037605927509011580 (used in the following branches: trunk, dev, beta, stable)
msgid "Aw, Snap!"
msgstr "Voi räkä!"
=====================
107: Fabien Tassin 2011-01-30 * Strings update for 11.0.654.0 r73098

#. IDS_SAD_TAB_TITLE
#. - description: The title of the sad tab page that is shown when a tab crashes. This is intended to be a humorous exclamation of dismay.
#: id: 3037605927509011580 (used in the following branches: default)
msgid "Aw, Snap!"
msgstr "Voi räkä!"
=====================

Revision history for this message
Fabien Tassin (fta) wrote :

The 3rd has a bit more history but still, nothing wrong. Are you sure those are the IDs that keep being overwritten?
if so, then it's launchpad's fault. I should be able to do the same tests with the export branch..

$ ./string-history.sh generated_resources fi 376466258076168640
Looking for history of string id 376466258076168640 in generated_resources/fi.po...
Current rev: 194
=====================
147: Fabien Tassin 2011-03-09 * Strings update for 11.0.697.0 r77413

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev, beta, stable)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr "Tee selaimesta %{PRODUCT_NAME} oletusselain"
=====================
128: Fabien Tassin 2011-02-19 * Strings update for 11.0.677.0 r75483

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev, beta)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr "Tee selaimesta %{PRODUCT_NAME} oletusselain"
=====================
110: Fabien Tassin 2011-02-04 * Recovery of the lost strings since r90 (1st attempt)

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr "Tee selaimesta %{PRODUCT_NAME} oletusselain"
=====================
109: Fabien Tassin 2011-02-02 * Strings update for 11.0.658.0 r73469

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev, beta, stable)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr ""
=====================
108: Fabien Tassin 2011-01-30 * Merge all channel branches

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr ""
=====================
107: Fabien Tassin 2011-01-30 * Strings update for 11.0.654.0 r73098

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: default)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr ""
=====================

Revision history for this message
Fabien Tassin (fta) wrote :
Download full text (3.6 KiB)

for the export branch, nothing unexpected for the 1st 2 strings:

$ ./string-history.sh generated_resources fi 1665770420914915777
Looking for history of string id 1665770420914915777 in generated_resources/fi.po...
Current rev: 185
=====================
109: Launchpad Transla... 2011-01-31 Launchpad automatic translations update.

#. IDS_OPTIONS_HOMEPAGE_USE_NEWTAB
#. - description: The title of the 'Use the New Tab page' for the home page radio
#: id: 1665770420914915777 (used in the following branches: trunk, dev, beta, stable)
msgid "Use the New Tab page"
msgstr "Käytä Uusi välilehti-sivua"
=====================

$ ./string-history.sh generated_resources fi 3037605927509011580
Looking for history of string id 3037605927509011580 in generated_resources/fi.po...
Current rev: 185
=====================
109: Launchpad Transla... 2011-01-31 Launchpad automatic translations update.

#. IDS_SAD_TAB_TITLE
#. - description: The title of the sad tab page that is shown when a tab crashes. This is intended to be a humorous exclamation of dismay.
#: id: 3037605927509011580 (used in the following branches: trunk, dev, beta, stable)
msgid "Aw, Snap!"
msgstr "Voi räkä!"
=====================

but for the 3rd one, there's indeed a problem..

$ ./string-history.sh generated_resources fi 376466258076168640
Looking for history of string id 376466258076168640 in generated_resources/fi.po...
Current rev: 185
=====================
147: Launchpad Transla... 2011-03-10 Launchpad automatic translations update.

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev, beta, stable)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr "Tee selaimesta %{PRODUCT_NAME} oletusselain"
=====================
128: Launchpad Transla... 2011-02-19 Launchpad automatic translations update.

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev, beta)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr "Aseta %{PRODUCT_NAME} oletusselaimeksi"
=====================
113: Launchpad Transla... 2011-02-04 Launchpad automatic translations update.

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr "Tee selaimesta %{PRODUCT_NAME} oletusselain"
=====================
112: Launchpad Transla... 2011-02-03 Launchpad automatic translations update.

#. IDS_OPTIONS_DEFAULTBROWSER_USEASDEFAULT
#. - description: In Title Case: The label of the 'Use Chrome as default' browser button
#. - condition: pp_ifdef('use_titlecase')
#: id: 376466258076168640 (used in the following branches: trunk, dev, beta, stable)
msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr "Tee selaimes...

Read more...

Revision history for this message
Jiri Grönroos (jiri-gronroos) wrote :

I've changed all of those strings in Launchpad. Those strings were translated by Chrome's translator but s/he made some oopsies. Therefore I've tried to correct them in Chromium.

Problem here seems to be that importing prioritizes Chrome's translations over LP translations. All the changes I've made are marked as suggestions after import has finished.

msgid "Use the New Tab page"
msgstr "Käytä Uusi välilehti-sivua" - https://translations.launchpad.net/chromium-browser/translations/+pots/generated-resources/fi/+translate?batch=10&show=all&search=v%C3%A4lilehti-sivua

msgid "Aw, Snap!"
msgstr "Voi räkä!" - https://translations.launchpad.net/chromium-browser/translations/+pots/generated-resources/fi/+translate?batch=10&show=all&search=voi+r%C3%A4k%C3%A4

msgid "Make %{PRODUCT_NAME} My Default Browser"
msgstr "Tee selaimesta %{PRODUCT_NAME} oletusselain" - https://translations.launchpad.net/chromium-browser/translations/+pots/generated-resources/fi/+translate?batch=10&show=all&search=tee+selaimesta

Revision history for this message
Jiri Grönroos (jiri-gronroos) wrote :

Still happens and in other languages, too. Is this a problem with Launchpad?

Revision history for this message
David Planella (dpm) wrote :

I'm marking it as Invalid for the Ubuntu Translations project, as Chromium's translations are handled in Launchpad's upstream project, but not in the Ubuntu packages. In Ubuntu we can currently only translate packages from the main repository, and Chromium is in universe.

However, the chromium-browser bug is still valid. I'm also adding a task for Launchpad do keep track of it.

Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Low
status: Triaged → Invalid
Revision history for this message
Данило Шеган (danilo) wrote :

Launchpad bug is a duplicate of bug 818230 (or maybe of bug 869264, depending on your view). Since I can't mark only a single bug task as such, I am marking the Launchpad bug as "Invalid". If you want to make this a bug duplicate of any of the existing bugs, feel free to do so and create new bug tasks on them.

Changed in launchpad:
status: New → Invalid
Revision history for this message
Olivier Tilloy (osomon) wrote :

Upstream chromium is not accepting translations coming from Launchpad any longer. Translations are bundled in the chromium-browser-l10n package, they come directly from the upstream sources.

Changed in chromium-browser (Ubuntu):
status: New → Won't Fix
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.