Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install python-gettext

How to install python-gettext

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install python-gettext
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
2.0
2.1Never BuiltWhy not?
2.0 Available View build log
1.2 Available View build log
1.1.1 Available View build log
1.1 Available View build log
1.0 Available View build log
Windows (64-bit)
2.0
2.1Never BuiltWhy not?
2.0 Available View build log
1.2 Available View build log
1.1.1 Available View build log
1.1 Available View build log
1.0 Available View build log
Mac OS X (10.5+)
2.0
2.1Never BuiltWhy not?
2.0 Available View build log
1.2 Available View build log
1.1.1 Available View build log
1.1 Available View build log
1.0 Available View build log
Linux (32-bit)
2.0
2.1Never BuiltWhy not?
2.0 Available View build log
1.2 Available View build log
1.1.1 Available View build log
1.1 Available View build log
1.0 Available View build log
Linux (64-bit)
2.1 Available View build log
2.0 Available View build log
1.2 Available View build log
1.1.1 Available View build log
1.1 Available View build log
1.0 Available View build log
 
License
BSD
Dependencies
Lastest release
version 2.1 on Jan 9th, 2014

Overview

This implementation of Gettext for Python includes a Msgfmt class which can be used to generate compiled mo files from Gettext po files and includes support for the newer msgctxt keyword.

The idea for this project had been rather ambitious, but never lived up to what is was supposed to do. Look at Babel (http://pypi.python.org/pypi/Babel) for a project more worthy of this projects name.

Development takes place at https://github.com/hannosch/python-gettext

Current Development CI Status
Travis CI build report
Contributors
  • Hanno Schlichting
  • Christian Heimes
  • Andrei Polushin

Changelog

2.1 - 2013-02-10
  • Prefer ast.literal_eval over eval under Python 2, instead of just under Python 3. We only support Python 2.6+ where the function is available. [hannosch]
  • Tested successfully under Python 3.3. [hannosch]
2.0 - 2011-12-22
  • Tested successfully under PyPy 1.7. [hannosch]
  • Handle non-latin-1 characters in the header correctly. [hannosch]
  • Python 2 and 3 compatibility in the same codebase. [hannosch]
1.2 - 2011-11-01
  • Make sure empty po files don't break. [Alexandru Plugaru]
  • Add support for messages with plural forms. [Andrei Polushin]
1.1.1 - 2011-03-21
  • Simplify test folder discovery. [hannosch]
1.1 - 2011-03-20
1.0 - 2009-05-23
  • Updated package description and metadata, relicense from GPL to BSD. Note about Babel which supersedes this package in all possible ways. [hannosch]
0.6 - 2007-11-02
  • Fixed header parsing. [hannosch]
0.5 - 2007-11-01
  • Optimized file parsing by using more elif clauses and avoiding an insane number of startswith and isinstance calls. [hannosch]
0.4 - 2007-10-13
  • Added header_only argument to the read method, that allows to only parse the header of a file without reading and parsing all the messages. [hannosch]
0.3 - 2007-08-25
  • Added an explicit read method, which only parses the po file and stores it in the messages dict, but does not compile it. [hannosch]
0.2 - 2007-08-23
  • Bumped version number to accommodate the number in the egg info. [hannosch]
0.1 - 2007-06-19
  • Initial implementation of a Msgfmt class which supports the generation of Gettext mo files including support for the new msgctxt keyword. [hannosch]

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.