Skip to content

eevee/cgettext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a drop-in C replacement for Python's gettext.GNUTranslations.  For our
fairly large set of languages and strings, it makes parsing 10x faster.

Just import GNUTranslations from cgettext instead of gettext.

You can safely install this module on PyPy and other implementations where a C
extension is undesirable, and it will simply re-export the built-in class.

The repository includes a small module, test_cgettext, that runs the built-in
Python gettext tests with GNUTranslations monkeypatched.

About

gettext.py, but with more fast

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages