Nightmonkey

Differences between revisions 1 and 15 (spanning 14 versions)
Revision 1 as of 2008-08-23 15:06:36
Size: 1720
Editor: catv-59844a50
Comment: initial revision
Revision 15 as of 2008-08-26 21:00:56
Size: 2995
Editor: catv-59844a50
Comment: we have a new name...
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
DDTP-lp-html is a simple tool to generate static HTML pages, which contain links to package description's translations in Launchpad. Nightmonkey (formerly DDTP-lp-html, but this name sucks ;)) is a simple tool to generate static HTML pages, which contain links to package description's translations in Launchpad.
Line 11: Line 11:
DDTP-lp-html can be used to generate static HTML pages, containing links to the descriptions of given packages in the enormous sized [[https://translations.launchpad.net/ddtp-ubuntu|DDTP templates]]. Also it can indicate if the given string is already translated. The resulting html files are sorted in alphabetic order, except the file for universe, which is by the popcon values of the packages. 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. Nightmonkey can be used to generate static HTML pages, containing links to the descriptions of given packages in the enormous sized [[https://translations.launchpad.net/ddtp-ubuntu|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.
Line 15: Line 15:
From: https://code.launchpad.net/ddtp-ubuntu The software is located in: https://code.launchpad.net/~sianis-gmail/ddtp-lp-html/devel
Line 18: Line 18:

 * If you want the resulting html pages localized, translate the po/ddtp-lp-html.pot file, rename it according to your locale, e.g. pt_BR.po, hu.po
 * Run prepare.sh - This will compile the source, download and copy .desktop files to their place
 * Run html-generator/generate.sh - This will generate the html pages for all po files in the po_files directory
 * The HTML files will be generated in html-generator directory
 * Put the resulting html files online, tell it's location to your translators, create a wiki page [[HungarianTeam/TranslationCoordination|(like this)]] for coordination and start translating!

= In action =

You can see the generated html pages for Hungarian at: <<BR>>
http://users.iit.uni-miskolc.hu/~nyitrai1/main.html <<BR>>
http://users.iit.uni-miskolc.hu/~nyitrai1/universe.html <<BR>>
http://users.iit.uni-miskolc.hu/~nyitrai1/multiverse.html <<BR>>
http://users.iit.uni-miskolc.hu/~nyitrai1/restricted.html

= Contact =

The project page is: https://launchpad.net/ddtp-lp-html
Use it for bugs, translations, and in case you have questions.

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 package description's translations in Launchpad.

Why?

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 the packages which are visible in the gnome-app-install application, also known as Applications -> Add/Remove. This is more likely to be used by new/less technical users, who perhaps don't speak English, so they would find the localized descriptions appearing more helpful as other places. 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.

Features

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: https://code.launchpad.net/~sianis-gmail/ddtp-lp-html/devel

Usage

  • If you want the resulting html pages localized, translate the po/ddtp-lp-html.pot file, rename it according to your locale, e.g. pt_BR.po, hu.po
  • Run prepare.sh - This will compile the source, download and copy .desktop files to their place
  • Run html-generator/generate.sh - This will generate the html pages for all po files in the po_files directory
  • The HTML files will be generated in html-generator directory
  • Put the resulting html files online, tell it's location to your translators, create a wiki page (like this) for coordination and start translating!

In action

You can see the generated html pages for Hungarian at:
http://users.iit.uni-miskolc.hu/~nyitrai1/main.html
http://users.iit.uni-miskolc.hu/~nyitrai1/universe.html
http://users.iit.uni-miskolc.hu/~nyitrai1/multiverse.html
http://users.iit.uni-miskolc.hu/~nyitrai1/restricted.html

Contact

The project page is: https://launchpad.net/ddtp-lp-html 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)