translator-credits remains "untranslated", so the percentage is < 100%

Bug #128324 reported by Andre Noel
104
This bug affects 11 people
Affects Status Importance Assigned to Milestone
BaShare
Invalid
Undecided
Unassigned
Launchpad itself
Fix Released
High
Henning Eggers

Bug Description

The special string "translator-credits" cannot be manually translated. It would be marked as "translated", but it is marked as "untranslated", what means percentage < 100%.

Example:
https://launchpad.net/ubuntu/gutsy/+source/edubuntu-docs/+pots/about-edubuntu/pt_BR/+translate?batch=10&show=untranslated

Related branches

Revision history for this message
Vladimir Melo (vmelo-deactivatedaccount) wrote :

All the strings are translated, except this one. I was in charge of the review all them and the job is done, but it's not possible to get this package absolutely translated because of this bug.

Changed in rosetta:
assignee: nobody → danilo
importance: Undecided → Medium
status: New → Confirmed
Changed in rosetta:
milestone: 1.1.10 → 1.1.12
Changed in rosetta:
milestone: 1.1.12 → 1.2.1
Changed in rosetta:
milestone: 1.2.1 → 1.2.2
Revision history for this message
Andre Noel (andrenoel) wrote :

" ** Changed in: rosetta
      Target: 1.2.1 => 1.2.2"

It's an eternal bug? It really annoy when we get this package list to translate...
If it remains untranslated 'cause its value is generated automatically, couldn't just input a default value to it, only to mark as translated, and generate the "real" value when close the translations?

Changed in rosetta:
milestone: 1.2.2 → 1.2.3
Changed in rosetta:
status: Confirmed → In Progress
Changed in rosetta:
milestone: 1.2.3 → 1.2.4
Revision history for this message
Mykas0 (mykas0) wrote :

Generally, I tend to order the packages by number of missing translations, and it is obviously upsetting to reach N packages and see that all of them have a single translation missing, this one. Therefore, I would like to kindly request that you fix this problem as quickly as possible - it has been like this for months.

Revision history for this message
Benjamin Geer (benjamin-geer) wrote :

This bug was reported almost a year ago, and it still hasn't been fixed.

Revision history for this message
Andre Noel (andrenoel) wrote :

Why is it so hard to fix?
Or it's not important?
This bug is very annoying...

Changed in rosetta:
milestone: 1.2.4 → 1.2.5
Changed in rosetta:
milestone: 1.2.5 → 1.2.6
Changed in rosetta:
milestone: 1.2.6 → none
Revision history for this message
Andre Noel (andrenoel) wrote :

" ** Changed in: rosetta
      Target: 1.2.6 => None"

What? Why?

Revision history for this message
André Gondim (andregondim) wrote :
Revision history for this message
Mykas0 (mykas0) wrote :

I've reported this several times in the past, I'd really like to see it solved. More often than not, I enter certain packages, thinking that a single string is untranslated, and then... I see this problem - not a good thing.

Revision history for this message
Andre Noel (andrenoel) wrote :

Please, you have to solve this.

Or open the code of launchpad and it will be fixed on two days.

Revision history for this message
Данило Шеган (danilo) wrote :

Fixing this bug involves quite some work (unless we want to make Launchpad Translations very slow as a result).

Considering that it should not be hard to figure out that if stats say there's 1 or 2 untranslated messages, reason is this bug, the amount of work for this little gain never made it a high priority.

I'll try to fix it soon, but can't make any promises yet.

Revision history for this message
Dominic Evans (oldmanuk) wrote :

After enabling launchpad translations for our project, I was very surprised to see this 99% bug. Any ETA on when this will be fixed?

I'd rather manually handler the the translator-credits or even disable them completely than have all our translations show as 99%

Revision history for this message
André Gondim (andregondim) wrote :
Download full text (6.6 KiB)

Just to refresh, all pack with problem in pt_BR

about-xubuntu https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/about-xubuntu/pt_BR/+translate?show=untranslated
add-applications https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/add-applications/pt_BR/+translate?show=untranslated
administrative https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/administrative/pt_BR/+translate?show=untranslated
advanced-topics https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/advanced-topics/pt_BR/+translate?show=untranslated
basic-commands https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/basic-commands/pt_BR/+translate?show=untranslated
config-desktop https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/config-desktop/pt_BR/+translate?show=untranslated
config-desktop https://translations.edge.launchpad.net/ubuntu/jaunty/+source/ubuntu-docs/+pots/config-desktop/pt_BR/+translate?show=untranslated
files-and-docs https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/files-and-docs/pt_BR/+translate?show=untranslated
internet https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/internet/pt_BR/+translate?show=untranslated
keeping-safe https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/keeping-safe/pt_BR/+translate?show=untranslated
musicvideophotos https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/musicvideophotos/pt_BR/+translate?show=untranslated
newtoubuntu https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/newtoubuntu/pt_BR/+translate?show=untranslated
office https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/office/pt_BR/+translate?show=untranslated
preface https://translations.edge.launchpad.net/ubuntu/jaunty/+source/kubuntu-docs/+pots/preface/pt_BR/+translate?show=untranslated
printing https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/printing/pt_BR/+translate?show=untranslated
programming https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/programming/pt_BR/+translate?show=untranslated
switching https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/switching/pt_BR/+translate?show=untranslated
windows https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/windows/pt_BR/+translate?show=untranslated
windows https://translations.edge.launchpad.net/ubuntu/jaunty/+source/ubuntu-docs/+pots/windows/pt_BR/+translate?show=untranslated
xubuntu-docs-index https://translations.edge.launchpad.net/ubuntu/jaunty/+source/xubuntu-docs/+pots/xubuntu-docs-index/pt_BR/+translate?show=untranslated
adept-installer https://translations.edge.launchpad.net/ubuntu/jaunty/+source/adept/+pots/adept-installer/pt_BR/+translate?show=untranslated
adept-notifier https://translations.edge.launchpad.net/ubuntu/jaunty/+source/adept/+pots/adept-notifier/pt_BR/+translate?show=untranslated
adept-updater https://translations.edge.launc...

Read more...

Revision history for this message
Данило Шеган (danilo) wrote :

What needs doing to fix this bug:
 ∙ Providing a pre-defined 'is_current' but not 'is_imported' translation for all translation credits messages when new POFile is created in the DB. It can be the string of the form 'translation credits placeholder; is not used'.
 ∙ When a new POTMsgSet is added by a template import which is one of translation credit messages, we should provide the same placeholder translation for all existing PO files.
 ∙ Populate all translation-credits messages for existing PO files (to fix bad data already in DB).

Revision history for this message
Данило Шеган (danilo) wrote :

Re-raising priority for 2.2. We should fix this soon.

Changed in rosetta:
importance: Medium → High
status: In Progress → Triaged
Revision history for this message
André Gondim (andregondim) wrote :

Still problem...

Revision history for this message
Данило Шеган (danilo) wrote :

Indeed it is. I am not sure I'll have time to work on this in the next two months, so if anyone feels willing and interested, I'll be happy to guide them through it.

Revision history for this message
André Gondim (andregondim) wrote :
Revision history for this message
Carl-Uno Olsson (carl-uno) wrote :

This is a really annoying bug. I am a new translator (one month on launchpad and a 889 Karma) and half of the projects listed in "Translations you can help complete" are already completed and shows on the list only because of this bug.

Examples:
https://translations.launchpad.net/kdiff-ext/trunk/+pots/kdiff-ext/sv/+translate?show=untranslated
https://translations.launchpad.net/christine/0.2/+pots/christine/sv/+translate?show=untranslated
https://translations.launchpad.net/christine/0.5.0/+pots/christine/sv/+translate?show=untranslated

Revision history for this message
Данило Шеган (danilo) wrote :

One proper way to fix this bug without causing any performance problems is:
 * Whenever a new PO file is created with *some* translations, create "current" TranslationMessage for each of the translation credits messages
 * Whenever a new POTMsgSet is added, if it's one of translation credits messages, create a "current" TranslationMessage for all existing POFiles containing at least some translations
 * Write a script to update all existing POFiles with the same translation (eg. "AUTOMATED TRANSLATION")

The reasoning for the above is the following:
 * "current" translation is not shown on any of these messages
 * POFile needs to have at least some translations to get anything to fill up the message, so it will be untranslated message if PO file is empty
 * No statistics calculation or UI code would need to change for this approach to work everywhere else

I'll make sure this is fixed asap, because it's causing even bigger problems with things like dashboard (bug 455185).

Changed in rosetta:
assignee: Данило Шеган (danilo) → Henning Eggers (henninge)
Revision history for this message
Carl-Uno Olsson (carl-uno) wrote :

The initial Bug Description was that the special string "translator-credits" could not be manually translated.

Other special string:
"translatorinfo", https://translations.launchpad.net/kdiff-ext/trunk/+pots/kdiff-ext/sv/+translate?show=untranslated

The same problem, but a different string type.

Revision history for this message
Henning Eggers (henninge) wrote :

It is intentional that they are not translatable. The content is generated on-the-fly upon display and export from the list of people that contributed to the translation plus whatever the upstream credits contain. There is no need to edit it in Launchpad.

The bug is about this preventing the translations from ever reaching 100% and we are working on fixing that.

Revision history for this message
Данило Шеган (danilo) wrote :

Done through a sequence of bugs:
  ∘ bug 456498 — some refactoring
  ∘ bug 456562 — generic methods to find translator credits messages and to mark them as translated
  ∘ bug 128324 — keep translator credits messages translated for all new POFiles and POTMsgSets (perhaps more split-up?)
  ∘ bug 459132 — mark existing untranslated translator credits as translated

Revision history for this message
Henning Eggers (henninge) wrote :

> ∘ bug 128324 — keep translator credits messages translated for all
> new POFiles and POTMsgSets (perhaps more split-up?)

Yup, more split-up:
  ∘ bug 461160 — Create dummy translations for translation credits upon POTMsgSet creation.
  ∘ bug 461166 — Create dummy translations for translation credits upon POFile creation.

Revision history for this message
Emilien Klein (emilien-klein) wrote :

I hope you guys good luck fixing this one... It indeed is kind of disturbing never to be able to reach 100%.

Revision history for this message
Emilien Klein (emilien-klein) wrote :

Uups, added BaShare as an affected project, but didn't know what the consequence of it would be. You can just ignore that ;)

Changed in bashare:
status: New → Invalid
Revision history for this message
Данило Шеган (danilo) wrote :

All of the code has been fixed. There are some DB permissions missing on the cleanup script, but after the script runs (over the next few days), this bug will be fixed.

Changed in rosetta:
milestone: none → 3.1.10
status: Triaged → In Progress
Revision history for this message
Данило Шеган (danilo) wrote :

We've hit a problem with cleanup script: bug #479385. While we've only seen it in the script, it can bite us elsewhere as well.

Revision history for this message
Данило Шеган (danilo) wrote :

Above bug has been fixed as well. Now we need to get it into production server and run it. My estimation is that script will take up to 7 days to run.

Changed in rosetta:
status: In Progress → Fix Committed
milestone: 3.1.10 → 3.1.11
Revision history for this message
Данило Шеган (danilo) wrote :

My original estimation was wrong. It'll probably take up to another 20 days to finish. :(

tags: added: qa-needstesting
tags: added: qa-ok
removed: qa-needstesting
tags: added: qa-needstesting
removed: qa-ok
Revision history for this message
Данило Шеган (danilo) wrote :

Fixes for this have been released: the cleanup script is still running though, so there might be older pofiles which still exhibit this problem, but they will be fixed in the following days.

tags: added: qa-ok
removed: qa-needstesting
Changed in rosetta:
status: Fix Committed → Fix Released
Revision history for this message
André Gondim (andregondim) wrote :

Congratulations ;)

Revision history for this message
André Gondim (andregondim) wrote :
Revision history for this message
Данило Шеган (danilo) wrote :

The script is still running. Because of the way it works, it will still take a few days, but should be quicker now.

Revision history for this message
piogo (piogo) wrote :

e uma merda nada e verdade

Changed in rosetta:
status: Fix Released → Confirmed
Revision history for this message
André Gondim (andregondim) wrote :
Revision history for this message
Henning Eggers (henninge) wrote :

AFAIK the cleanup script was still running before the the Holiday break. We will have to check if there are still packages remaining to be done or if the bug really persists.

Changed in rosetta:
status: Confirmed → In Progress
Changed in rosetta:
status: In Progress → Fix Released
Revision history for this message
Henning Eggers (henninge) wrote :

The script has finished and so this bug is closed. Please report any remaining occurances of untranslated credits on bug 503421. Thank you. ;-)

Revision history for this message
Sveinn í Felli (sveinki) wrote : Re: [Bug 128324] Re: translator-credits remains "untranslated", so the percentage is < 100%

On 01/05/2010 04:23 PM, Henning Eggers wrote:
> The script has finished and so this bug is closed. Please report any
> remaining occurances of untranslated credits on bug 503421. Thank you.
> ;-)
>
A quick glance over kde-po's seems to confirm elimination of
bug. Thanks a lot.

Sveinn

Revision history for this message
André Gondim (andregondim) wrote :
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.