Glenn Linderman <[EMAIL PROTECTED]> writes: > In this message I'll discuss a scheme for handling complex > translations with multiple numeric parameters.
Have you had a look at the ngettext function? http://docs.python.org/dev/library/gettext.html#gettext.ngettext I think it does most of what you propose, including letting the translators write the little code snippets that will determine if it should be '1 file' or 'n files'. The gettext manual has more to say here: http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
pgpFYQuvH4E3N.pgp
Description: PGP signature
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com