Debian Med Project
Help us to see Debian used by medical practicioners and researchers! Join us on the Alioth page.
summary
Current locale:
en_US
Priority:
1.0
localization

Currently installed locales

locale translation status author team
en_US 100% (builtin)
fr_FR 67.31% Charles Plessy <charles-debian-nospam@plessy.org> français <fr@li.org.example>
es_ES 94.23% Luis Rivas Vañó <luinix@gmail.com> español <es@li.org>
it_IT 96.15% David Paleino <d.paleino@gmail.com> Italian <it@li.org>
ar_EG 53.85% Amr Helmy <amrhelmy2004@gmx.com> Arabic <ar@li.org>
pt_BR 100% Nelson A. de Oliveira <naoliv@debian.org> Debian i10n Português <debian-l10n-portuguese@lists.debian.org>
de_DE 94.23% Steffen Möller, Andreas Tille <{moeller,tille}@debian.org> German <de@li.org>
ru_RU 100% Lutsenko Denis <palacex@gmail.com>

Updating locales

To update existing locales with new messages from the code, first cd to the locale/ directory:

$ cd trunk/community/website/locale/

After that, you will find some scripts there. So, run:
$ ./update-messages
$ ./update-locales
......done
...
$ svn ci -m "Catalogs updated"
...
Commit of revision xxx done.
$ 

After that, pick up your favourite editor, edit your .po file, and commit it!

Add new locale

To add a new locale, please use your authenticated SVN access.
First, checkout the locale/ directory:

$ svn co svn+ssh://myaliothlogin@svn.debian.org/svn/debian-med/trunk/community/website/locale/

After this, create a new directory for your locale (let's suppose it's fr_FR):
$ mkdir -p fr_FR/LC_MESSAGES/

Next step is actually adding the .po catalog. Copy the .pot template to your newly created directory, and start translating:
$ cp messages.pot fr_FR/LC_MESSAGES/messages.po
$ cd fr_FR/LC_MESSAGES/
$ vi messages.po

Now you need to compile the catalog you've just translated, and add everything under SVN control (we're in the LC_MESSAGES/ directory in this example):
$ msgfmt messages.po
$ ls
messages.mo messages.po
$ cd ../../ # up to the locale/ directory
$ ls
it_IT/ fr_FR/ messages.pot
$ svn add fr_FR/
A fr_FR/
A fr_FR/LC_MESSAGES/
A fr_FR/LC_MESSAGES/messages.mo
A fr_FR/LC_MESSAGES/messages.po
$ 

Now it's time to commit the changes:
$ svn commit -m "Adding fr_FR locale"
Sending      locale/fr_FR/
Sending      locale/fr_FR/LC_MESSAGES/
Sending      locale/fr_FR/LC_MESSAGES/messages.mo
Sending      locale/fr_FR/LC_MESSAGES/messages.po
Sending data ....
Commit of Revision xxx done.
$ 

Please note that the automatic loading of locales has not been tested yet. Please send an e-mail to debian-med@lists.debian.org if you encounter any problems.


$ SVN export - rev. 7600 - Last update by plessy - Wed, 31 Aug 2011 12:57:51 +0000 $