[or-cvs] r20259: {translation} updated readme (translation/trunk/tools/gsoc09)

runa at seul.org runa at seul.org
Mon Aug 10 10:54:39 UTC 2009


Author: runa
Date: 2009-08-10 06:54:37 -0400 (Mon, 10 Aug 2009)
New Revision: 20259

Modified:
   translation/trunk/tools/gsoc09/README
Log:
updated readme

Modified: translation/trunk/tools/gsoc09/README
===================================================================
--- translation/trunk/tools/gsoc09/README	2009-08-10 07:54:35 UTC (rev 20258)
+++ translation/trunk/tools/gsoc09/README	2009-08-10 10:54:37 UTC (rev 20259)
@@ -14,7 +14,9 @@
 
 The Tor Project is using Pootle, a web portal designed to ease the
 translation process. Given a bunch of pot (po-template) files, Pootle
-can generate the po files needed for all supported languages.
+can generate the po files needed for all supported languages. The pot
+files should be put in a directory named templates so that Pootle can
+convert the files to .po for all supportes languages.
 
 The two scripts are using tools from the po4a framework. As long as the
 document you are trying to convert is well formed, i.e. all tags closed,
@@ -44,10 +46,26 @@
 
 An outline of the process:
 It might be useful to see the complete list of steps, from a new wml to
-a translated wml, and where the two scripts fit in.
+a translated wml, and where the two scripts fit in. The process is the
+same for updated .wml files.
 
-1. A new .wml file has been committed to the repository
-2. To convert this to .pot, run wml2po.sh
-3. Restart Pootle to make sure it knows about the new file
-4. In Pootle, generate the .po file for all the supported languages
+Note that Pootle only looks after the files once they have been added to
+the repository. New and updated .po files will have to be added/committed
+manually.
+
+1. A new .wml file has been committed to the repository.
+
+2. To convert this to .pot, run wml2po.sh.
+
+3. Restart Pootle to make sure it knows about the new file.
+
+4. Log in to the Pootle admin interface, click on "Admin" and
+   "Projects". Choose the project you want to edit (i.e. "website") and
+   click on "update languages". Pootle will now generate .po files from the
+   .pot file.
+
+5. New and updated .po files will not be added/committed to the
+   repository automatically. Use 'svn stat' to see the list of files
+   that are new and/or changed, and add/commit these files manually.
+
 5. To convert the translated .po files back to .wml, run po2wml.sh



More information about the tor-commits mailing list