API for POTemplate translation statistics method

Bug #583979 reported by Adi Roiban
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

If would be nice if the LP Translations API could export the translations statistics in a similar way with the „browser” view.

 * Each series (product/distribution) can be queried for a per-language translations statistics for all templates associated with them. (https://translations.edge.launchpad.net/ubuntu/lucid/)

 * Return the translations statistics for each associated template, for a specific language (https://translations.edge.launchpad.net/ubuntu/lucid/+lang/ro)

I am not sure if sourcepackage can be included in this branch. (https://translations.edge.launchpad.net/ubuntu/lucid/+source/ubiquity-slideshow-ubuntu/+translations)

Adi Roiban (adiroiban)
Changed in rosetta:
assignee: nobody → Adi Roiban (adiroiban)
Revision history for this message
Данило Шеган (danilo) wrote :

I am not sure I understand this one. What do you mean with "translation statistics method"?

Changed in rosetta:
status: New → Triaged
importance: Undecided → Low
status: Triaged → Incomplete
Revision history for this message
Adi Roiban (adiroiban) wrote :

Soon, for each series in the API we will have „all_translation_templates” attribute (https://launchpad.dev/api/devel/ubuntu/hoary/all_potemplates) which expose similar data as https://translations.edge.launchpad.net/ubuntu/lucid/+templates.

I was thinking to add in the API 2 new methods for a series:

1. „getTranslationsStatistic” which will expose data similar to https://translations.edge.launchpad.net/ubuntu/lucid/ . It will be accessible as https://launchpad.dev/api/devel/ubuntu/hoary?wp.op=getTranslationsStatistic

2. „getTranslationsLanguageStatistics(LANG)” which will expose data similar to https://translations.edge.launchpad.net/ubuntu/lucid/+lang/ro . It will be accessible as https://launchpad.dev/api/devel/ubuntu/hoary?wp.op=getTranslationsLanguageStatistics&language=ro

Do you think of exporting those data in a different way?

Cheers

Changed in launchpad:
status: Incomplete → Triaged
William Grant (wgrant)
Changed in launchpad:
assignee: Adi Roiban (adiroiban) → nobody
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.