Differences between revisions 20 and 21
Revision 20 as of 2008-08-28 15:59:15
Size: 4394
Editor: 88
Comment: add a note about Debian, where most translation should be done
Revision 21 as of 2008-08-28 16:01:36
Size: 4458
Editor: 88
Comment: better link for language-specific ddtp pages
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
 * '''''' - the place to do package description translations  * '''''' - the place to do package description translations
 * - more statistics

What is this?

Nightmonkey (formerly DDTP-lp-html, but this name sucks ;)) is a simple tool to generate static HTML pages, which contain links to the translatable descriptions of packages appearing in gnome-app-install.


Ubuntu includes lots of software packages, which have packacge descriptions, visible in package management tools, such as Synaptic, update-manager, gnome-app-install, etc. Those descriptions are translatable, to make them usable for people not speaking English very well. The problem is the amount of these messages. Translation teams with limited human resources have to somehow decide, which strings to translate. One possible decision is to translate those package desciptions, which are visible in the gnome-app-install application, also known as Applications -> Add/Remove. This is more likely to be seen by new/less technical users, who perhaps don't speak English, so they would find the localized descriptions appearing here more helpful as other places, e.g. Synaptic. Other argument is, that the number of packages appearing here is relatively small, so this subset of strings can be translated by smaller teams in reasonable time.

Debian package translations are one item on NonLanguagePackTranslationDeadline.

Collaboration with Debian

Note that the primary place to do package description translations is Debian, to avoid duplicate work:

When interested in translating a package description, first check if you can translate it in Debian. Merges from Debian will be made periodically. If the schedule is tight and you want to make sure a translation in Debian will be there for the next Ubuntu, you can copy-paste from your just made ddtp translation or, if already translated in Debian, from these directories:

sid (unstable), lenny (testing/stable) (open a file for your language and do a search)

Nightmonkey & Launchpad are most useful when translating packages that are not available for translation in Debian, for example the packages in restricted and some elsewhere. Also sometimes Ubuntu's package description may differ from Debian's, in which case Launchpad has to be again used.


Nightmonkey can be used to generate static HTML pages, containing links to the descriptions of given packages in the enormous sized DDTP templates. Also it can indicate if the given string is already translated. The package names in the resulting html files are sorted in alphabetic order, except the file for universe, which is by the popcon values of the packages, so you can begin translating the more popular applications of universe. The input of the program is a package list generated from the .desktop files of app-install-data and the DDTP po templates of the given language.

Get it

The software is located in:


  • If you want the resulting html pages localized, translate the po/nightmonkey.pot file, rename it according to your locale, e.g. pt_BR.po, hu.po
  • Run - This will compile the source, download and copy .desktop files to their place
  • Go to and download the po files for your language. Place them to the html-generator/po_files directory.

  • Run html-generator/ - This will generate the html pages for all po files in the po_files directory
  • Put the resulting html files from the html-generator directory online, tell it's location to your translation team members, create a wiki page (like this) for coordination and start translating!

In action

You can see the generated html pages for Hungarian at:


The project page is: Use it for bugs, translations, and in case you have questions.

Nightmonkey (last edited 2010-02-10 18:41:28 by catv-89-132-76-245)