What is the list of tools available in the ubuntu-l10n-tools project ?

Asked by Pierre Slamich

This project contains a set of scripts to make the work of an Ubuntu translator easier and to automate and help with tasks related to translation template management in Launchpad.

It currently provides the following tools:

ul10n-kdecompare
----------------

Compares an upstream KDE translation tarball with a translation tarball exported from Launchpad and outputs information about the differences.

It was primarily designed as a request from the Kubuntu team in order to know how many changes were made for KDE translations in Launchpad. It requires a local Launchpad installation (see https://dev.launchpad.net/Getting or https://dev.launchpad.net/Running/Schroot).

* Status: not tested since it was moved to ubuntu_l10n_tools, might need some tweaking.

ul10n-lp-get-imports-info
-------------------------

Returns internal Launchpad URLs for translation tarball imports. Useful when we need to check a translations import when there are problems. This way we can just download it from the URL without the need of locally building a package.

* Status: not tested since it was moved to ubuntu_l10n_tools, might need some tweaking.

ul10n-lp-get-queue
------------------

* Status: not tested since it was moved to ubuntu_l10n_tools, might need some tweaking. See bug #(TODO: find the bug number ;) for some other functionality that could be available to the script

ul10n-lp-get-team-info
----------------------

Returns info from language teams in the Ubuntu Translators group, such as the team contact.

* Status: not tested since it was moved to ubuntu_l10n_tools, might need some tweaking.

ul10n-lp-get-templates
----------------------

Given a source package, it returns a list of its translatable templates in Launchpad

* Status: not tested since it was moved to ubuntu_l10n_tools, might need some tweaking. Most importantly, it does screen-scraping right now, and we should check if that can be dropped in favour of the Launchpad Translations API for templates if the functionality is available (need to check that out).

ul10n-lp-l10n-upload
--------------------

Python rewrite of the launchpad-translations-tools script, which stopped working when the Launchpad authentication method was changed a while ago.

The current implementation uses a browser cookie for authentication, and it allows project owners to upload a tarball with translations to their project.

* Status: working, needs more testing and needs to implement the full functionality of the launchpad-translations-tools script

ul10n-lp-set-pot-priority
-------------------------

Sets the priorities of translatable templates in Launchpad according to the given CSV file.

The list of templates and their priorities can be seen at:

  https://translations.launchpad.net/ubuntu/natty/+templates

(for the staging server)

* Status: working, but needs some improvements. See the TODO list.

ul10n-search
------------

Given a string, it searches for it in all installed translations in the system. The string can be searched for in the translations, in the original strings or in both (not yet implemented)

* Status: working, needs testing and some minor improvements. It would be great to provide a simple UI for invoking it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Translations Tools Edit question
Assignee:
No assignee Edit question
Solved by:
Pierre Slamich
Solved:
Last query:
Last reply:
Revision history for this message
Pierre Slamich (pierre-slamich) said :
#1

See above