Builtin i18n _() function in a multi-threaded environment

Category: Python - Miscellaneous

Injecting _() in the __builtin__ module in order to inject global functions _() and N_() is common in applications which need i18n. This is a variation on the theme that does this in a multi-threaded environment, using threading.local from Python-2.4. Date: 25 April, 2012


Web

Homepage: http://code.activestate.com/recipes/465756-builtin-i18n-_-function-in-a-multi-threaded-enviro/?in=lang-python

Developer: Martin Blais

License: Python License

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Apache is a powerful, flexible, web server.

developer Developer: The Apache Software Foundation
license License: Apache License
operating systems Operating System: daemon


Web-based software for submission and review of papers to academic conferneces.

developer Developer: Shai Halevi
license License: Common Public License
operating systems Operating System: All


Platform for PHP which has gambArt GUI framework for standalone desktop application development, Semok web application framework, and classes collection (distributed computing, networking, compression, byte compiler, SMS, XML, and database abstraction).

developer Developer: Reza Iqbal
license License: Common Public License
operating systems Operating System: Linux, Windows


Free application that allows you to play music on your website.

developer Developer: Andrey Markin
license License: Freeware
operating systems Operating System: Not Available


Another amazing Script from Dr.

developer Developer: Dr.Surajit Sarkar
license License: Freeware
operating systems Operating System: Unix,Linux,Windows


Pheap offers a simple, bold interface that masks a powerful content management system.

developer Developer: Spencer Akers
license License: Freeware
operating systems Operating System: ALL


dhtmlxToolbar is a free JavaScript Toolbar with high functionality, XML support, cross-browser compatibility and rich API.

developer Developer: Ivan Petrenko
license License: Freeware
operating systems Operating System: Win 9x, Win ME, WinNT, Windows 2000, Win XP, Windows 2003, Unix, Linux, Mac OS X, Mac Other


Group a list of items according to the starting character(s) of items.

developer Developer: runsun pan
license License: Python License
operating systems Operating System: Windows


here we will see an example of template comparisons based on a logical ANY object.

developer Developer: Alex Naanou
license License: Python License
operating systems Operating System: Windows