Re: When Internationalizing ?

Barry Warsaw <[email protected]> Mon, 23 May 2005 10:29:24 -0400
Newsgroups gmane.comp.python.internationalization
Organization Damn Crazy Followers of the Horn
Message-ID <[email protected]>
On Mon, 2005-05-23 at 09:44, [email protected] wrote:

> I was just wondering if i have to internazionalize the application at its start or when it is finish.
> What is the right order to do it?

Definitely begin marking up your human readable text as early as
possible.  It's as simple as wrapping things in _() function calls.  You
can even stub out the i18n with this:

def _(s): return s

-Barry

_______________________________________________
I18n-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/i18n-sig
signature.asc (application/pgp-signature, 307 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQCVAwUAQpHoxHEjvBPtnXfVAQISNwP/UzYHe0214SIDRyx8Gyh8FqDtZP/8FqoK
vkX7D0wicV1eBX3DXZ7o5qavkNzcQfuazPA1Csm6wMxn8iqGa/rG4yKfzyMmpQFZ
5PY3d9DGpSnI49/ryyVt8ZReFVtpu7Y32tflVo4wq4XlW2jDo8JWFE8msi4VmEGi
ctomdvnXgtA=
=z4ps
-----END PGP SIGNATURE-----