[med-svn] r627 - trunk/community/website
smoe-guest at alioth.debian.org
smoe-guest at alioth.debian.org
Fri Oct 5 22:34:16 UTC 2007
Author: smoe-guest
Date: 2007-10-05 22:34:16 +0000 (Fri, 05 Oct 2007)
New Revision: 627
Modified:
trunk/community/website/locales.php
Log:
German is kind of there, so I hope, hence changed the locales.php suggesting french.
Modified: trunk/community/website/locales.php
===================================================================
--- trunk/community/website/locales.php 2007-10-05 22:32:01 UTC (rev 626)
+++ trunk/community/website/locales.php 2007-10-05 22:34:16 UTC (rev 627)
@@ -93,15 +93,15 @@
<pre>
$ svn co svn+ssh://myaliothlogin@svn.debian.org/svn/debian-med/trunk/community/website/locale/
</pre>
- After this, create a new directory for your locale (let's suppose it's de_DE):
+ After this, create a new directory for your locale (let's suppose it's fr_FR):
<pre>
-$ mkdir de_DE/LC_MESSAGES/
+$ mkdir -p fr_FR/LC_MESSAGES/
</pre>
Next step is actually adding the .po catalog. Copy the .pot template to your newly created
directory, and start translating:
<pre>
-$ cp messages.pot de_DE/LC_MESSAGES/messages.po
-$ cd de_DE/LC_MESSAGES/
+$ cp messages.pot fr_FR/LC_MESSAGES/messages.po
+$ cd fr_FR/LC_MESSAGES/
$ vi messages.po
</pre>
Now you need to compile the catalog you've just translated, and add everything under SVN control
@@ -112,21 +112,21 @@
messages.mo messages.po
$ cd ../../ # up to the locale/ directory
$ ls
-it_IT/ de_DE/ messages.pot
-$ svn add de_DE/
-A de_DE/
-A de_DE/LC_MESSAGES/
-A de_DE/LC_MESSAGES/messages.mo
-A de_DE/LC_MESSAGES/messages.po
+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
$
</pre>
Now it's time to commit the changes:
<pre>
-$ svn commit -m "Adding de_DE locale"
-Sending locale/de_DE/
-Sending locale/de_DE/LC_MESSAGES/
-Sending locale/de_DE/LC_MESSAGES/messages.mo
-Sending locale/de_DE/LC_MESSAGES/messages.po
+$ 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.
$
More information about the debian-med-commit
mailing list