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:

<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.



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

<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.


<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=" "></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="">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!


<dt><a href="">Marc-Andr&#233; Lemburg</a> <dd>Implementing the core Unicode features

<dt><a href="">Fredrik Lundh, Secret Labs AB</a> <dd>Implementing the Unicode regex engine

<dt><a href="">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="">(</a> are developing multilingual PDF reporting tools and need to implement full support for Asian writing systems later this year.

<dt><a href="">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=" ">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.


<h3>Resources and Links</h3>

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


<li><a href=""> 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="" >The Python Unicode Proposal</a> itself.

<li><a href="" >Python Unicode Tutorial</a>, by Andy Robinson.

<li><a href="">The Unicode Consortium</a> home page.

<li><a href="">The Linux i18n project home page</a>.

<li><a href=""> Lessons learned from internationalizing JavaScript</a> from an IBM researcher.

<li><a href="">UTF-8 and Unicode FAQ for Unix/Linux</a> by Markus Kuhn.

<li><a href="">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="">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 and do a mass regression test against its output, we'd have finished our job!)

<li><a href="">Unilib</a> from Sybase is another commercial offering which is widely used.

<li><a href="">gettext</a> is a GNU library for dealing with string lookups which forms the core part of their Translation Project.

<li><a href=""></a> - A pure python module for reading .mo files created by msgfmt.

<li><a href=""></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="" >pygettext</a> - Barry Warsaw's reimplementation of gettext in pure Python. (Now also part of Python 2.0 in Tools/i18n/.)

<li><a href="" >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= "" >Design and Implementation of a Suite of Chinese Transcoders for Python 2</a>.


More contributions to the list are welcome! <p>