Export more ILanguage attributes in API

Bug #525325 reported by Adi Roiban
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Adi Roiban

Bug Description

In reporting statistics for Ubuntu translations it would help to expose more Language information using LP API.

Right now, we are using an sql dump provided by Danilo http://people.canonical.com/~danilo/ubuntu/langs.log

The Ubuntu translation team has started a wiki page to gather LP API requirements for helping in generating statistics:
https://dev.launchpad.net/Translations/Specs/ReportingAPI

For the ILanguage it would be nice to have this attributes:

abbreviate_text_direction : ltr
code : ro
english_name : Romanian
plural_expression : (n == 1 ? 0: (((n % 100 > 19) || ((n % 100 == 0) && (n != 0))) ? 2: 1))
plural_forms : 3
visible : True

For ILanguageSet it would be nice to have a getAll and search method.

Related branches

Adi Roiban (adiroiban)
Changed in launchpad-foundations:
assignee: nobody → Adi Roiban (adiroiban)
Adi Roiban (adiroiban)
description: updated
David Planella (dpm)
description: updated
Adi Roiban (adiroiban)
Changed in launchpad-foundations:
status: New → In Progress
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
milestone: none → 10.03
status: In Progress → Fix Committed
tags: added: qa-needstesting
Revision history for this message
Adi Roiban (adiroiban) wrote :
tags: added: api qa-ok
removed: qa-needstesting
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 525325 Fix released

Fixed released in launchpad-project 10.03.

Changed in launchpad-foundations:
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.