[or-cvs] r18677: {projects} Document how to add support for a new language. Update my na (projects/gettor)

ioerror at seul.org ioerror at seul.org
Mon Feb 23 10:46:32 UTC 2009


Author: ioerror
Date: 2009-02-23 05:46:31 -0500 (Mon, 23 Feb 2009)
New Revision: 18677

Modified:
   projects/gettor/README
   projects/gettor/setup.py
Log:
Document how to add support for a new language. Update my name in the setup.py file.


Modified: projects/gettor/README
===================================================================
--- projects/gettor/README	2009-02-23 10:35:27 UTC (rev 18676)
+++ projects/gettor/README	2009-02-23 10:46:31 UTC (rev 18677)
@@ -86,6 +86,16 @@
 i18n/ in the GetTor source package, e.g. 'i18n/en/gettor_en.po',
 'i18n/de/gettor_de.po', and so on.
 
+To add a new language to GetTor, one must create a new .po file in subversion
+in the proper directory. For Korean, one would create i18n/ko/ and add the
+untranslated file (called gettor_ko.po) to that directory. This file should be
+translated but partial translations are allowed. Once this file has been
+created, the GetTor program does not need to be modified. It does however 
+require that one adds a configuration option indicating the newly desired
+locale (the default is English):
+	
+	locale = ko
+
 CONFIGURATION
 -------------
 A proper GetTor configuration file is expected in the user's home directory

Modified: projects/gettor/setup.py
===================================================================
--- projects/gettor/setup.py	2009-02-23 10:35:27 UTC (rev 18676)
+++ projects/gettor/setup.py	2009-02-23 10:46:31 UTC (rev 18677)
@@ -7,7 +7,7 @@
 setup(name='GetTor',
       version='0.1',
       description='GetTor enables users to obtain Tor via email',
-      author='Jake Appelbaum, Christian Fromme',
+      author='Jacob Appelbaum, Christian Fromme',
       author_email='jacob at appelbaum dot net, kaner at strace dot org',
       url='https://www.torpeoject.org/gettor/',
       package_dir={'': '.'},



More information about the tor-commits mailing list