Notice: While Javascript is not essential for this website, your interaction with the content will be limited. Please turn Javascript on for the full experience.

Python Internationalization-SIG

<H3>Internationalization-SIG ("i18n")</H3>

<p>This SIG provides a forum for discussing issues relating to the internationalization of Python.

<p>At the time of writing (March 2000), internationalization (henceforth spelled as "i18n" to save typing) features are being added to Python. This sig is the primary forum for discussing those features. Topics covered include but are not limited to:

<ul>
<li>Unicode support and building a library of codecs <li>Support for locale information, date, number and time formatting <li>Frameworks for translating and localizing GUI and Web applications

System Message: WARNING/2 (<string>, line 15)

Definition list ends without a blank line; unexpected unindent.

</ul>

<h3>Deliverables</h3>

<p>The immediate deliverables relate to Unicode and encoding support; the other topics above are too general and application-specific.

<ul>
<li>Test the new Unicode features and supplied single-byte codecs as soon as the Unicode patch moves into public CVS (Q2 2000) <li>Assist with documentation of the new features (Q2/Q3 2000) <li>Do some prototype implementations of double-byte codecs. On the basis of this, determine what changes and additions, if any, are needed to the Unicode API at the C level support professional i18n work, and help get these into the core in time for 1.6. (Q2 2000) <li>Thereafter, begin implementing a full set of codecs supporting most of the world's languages. (Q3-4 2000 and ongoing)

System Message: WARNING/2 (<string>, line 32)

Definition list ends without a blank line; unexpected unindent.

</ul>

<h3> Background</h3>

<p>In mid-1999, Python consortium members made some strong requests for i18n features to be added to Python. Following discussions on the python-dev list, CNRI contracted Marc-Andre Lemburg to add Unicode strings and the associated changes to the Python core (based on a running Unicode string implementation from Fredrik Lundh), and Fredrik Lundh to develop a Unicode- based regex engine. These tasks are nearing completion and will shortly be released into public CVS.

<p>The specification on which these are based can be found at <a href="http://starship.python.net/crew/lemburg/unicode-proposal.txt "> http://starship.python.net/crew/lemburg/unicode-proposal.txt</a>. (Now also in the Python 2.0 distribution as Misc/unicode.txt.)

<p>The proposal defines a 'codec' interface, but implementing codecs for multi-byte languages is out of Marc-Andre's scope and will be left to members of the SIG.

<p>There was an i18n forum at the Eighth International Python Conference, at which the above deliverables were agreed, and the SIG was formed as a result of this.

<h3>Key People and Organisations Involved</h3>

<P>If you can help out n a specific way and feel you should be listed in here, please contact <a href="mailto:andy@reportlab.com">Andy Robinson</a> with a brief bio. This list is a first draft and omits many key people on the sig, but you'll have to tell me about yourself to get listed!

<dl>

<dt><a href="mailto:mal@lemburg.com">Marc-Andr&#233; Lemburg</a> <dd>Implementing the core Unicode features

<dt><a href="mailto:fredrik@pythonware.com">Fredrik Lundh, Secret Labs AB</a> <dd>Implementing the Unicode regex engine

<dt><a href="mailto:andy@reportlab.com">Andy Robinson, ReportLab Inc.</a> <dd>SIG Moderator; Japanese speaker, and worked on Japanese conversion in Python for the past year at a mutual fund company. ReportLab <a href="http://www.reportlab.com/">(http://www.reportlab.com/)</a> are developing multilingual PDF reporting tools and need to implement full support for Asian writing systems later this year.

<dt><a href="mailto:brian@garage.co.jp">Brian Takashi Hooper, Digital Garage</a> <dd>Digital Garage are a consulting and internet services firm based in Tokyo with over 70 employees. They have implemented their own codecs for Japanese in the past and have a pressing need for Japanese support in Python.

<dt>Hewlett Packard <dd>HP are members of the Python consortium and pushed initially for the Unicode work for Python to assist with their global eSpeak program.

<dt><a href="mailto:chris@ccbs.ntu.edu.tw ">Christian Wittern</a> <dd>Christian is a sinologist based in Taiwan and can assist with Chinese-related issues.

System Message: WARNING/2 (<string>, line 92)

Definition list ends without a blank line; unexpected unindent.

</dl>

<h3>Resources and Links</h3>

<p>Thanks to Peter Funk for kicking off this list:

<ul>

<li><a href="http://www.python.org/workshops/1997-10/proceedings/loewis.html"> Martin von Loewis' "Internationalizing Python" paper</a>, given at the 6th International Python Conference, 1997, is a great place to get an overviw of the issues onvolved.

<li><a href="http://starship.python.net/crew/lemburg/unicode-proposal.txt" >The Python Unicode Proposal</a> itself.

<li><a href="http://www.reportlab.com/i18n/python_unicode_tutorial.html" >Python Unicode Tutorial</a>, by Andy Robinson.

<li><a href="http://www.unicode.org/">The Unicode Consortium</a> home page.

<li><a href="http://www.li18nux.org/">The Linux i18n project home page</a>.

<li><a href="http://www-4.ibm.com/software/developer/library/internationalization-support.html"> Lessons learned from internationalizing JavaScript</a> from an IBM researcher.

<li><a href="http://www.cl.cam.ac.uk/~mgk25/unicode.html">UTF-8 and Unicode FAQ for Unix/Linux</a> by Markus Kuhn.

<li><a href="http://www.dgs.monash.edu.au/~jwb/japanese.html">Jim Breen's Japanese Page</a>. Most things relating to the Japanese language and computing are one or two clicks away from here.

<li><a href="http://www.basistech.com">Basis Technologies</a> make a commercial Unicode library called Rosette; their site has some good docs on the issues involved in designing these. (There is a free DOS program called uniconv which uses this to convert files between encodings; if we could write a uniconv.py and do a mass regression test against its output, we'd have finished our job!)

<li><a href="http://www.sybase.com/products/global/products/unilib.html">Unilib</a> from Sybase is another commercial offering which is widely used.

<li><a href="http://www.gnu.org/software/gettext/gettext.html">gettext</a> is a GNU library for dealing with string lookups which forms the core part of their Translation Project.

<li><a href="http://sourceforge.net/snippet/detail.php?type=snippet&id=100059">fintl.py</a> - A pure python module for reading .mo files created by msgfmt.

<li><a href="http://www.informatik.hu-berlin.de/~loewis/python/intl-960117.tgz">intl.so</a> - An interface to the (GNU) gettext C library. Only useful for

System Message: ERROR/3 (<string>, line 143)

Unexpected indentation.
intenational applications, if they are covered by GPL and will run under Unix-Linux.

<li><a href="http://www.python.org/~bwarsaw/software/pyware.html" >pygettext</a> - Barry Warsaw's reimplementation of gettext in pure Python. (Now also part of Python 2.0 in Tools/i18n/.)

<li><a href="http://pseudo.grad.sccs.chukyo-u.ac.jp/~kajiyama/python/" >Japanese codecs for Python</a> - made available by Tamito Kajiyama.

<li>Tom Emerson presented a paper at the 2002 Unicode conference in Washington, DC on a unified architecture for Asian codecs: <a href= "http://www.basistech.com/articles/python-zh-transcoding_iuc20_TE2.pdf" >Design and Implementation of a Suite of Chinese Transcoders for Python 2</a>.

</ul>

More contributions to the list are welcome! <p>