Commits

Author Commit Message Labels Comments Date
Antonio Cuni
mv README.rst README
Antonio Cuni
fix links and mention s3 srl
Antonio Cuni
add a requirement
Antonio Cuni
add a demo application
Antonio Cuni
add setup.py
Antonio Cuni
update the docs to use the new cmdline command
Antonio Cuni
add support for running extract()/compile() from command line by using python -m i18n ...
Antonio Cuni
(in-progress) start another paragraph
Antonio Cuni
a passing test to check that we can extract messages from method calls as well
Antonio Cuni
move README to the top directory
Antonio Cuni
add a README
Antonio Cuni
automatic commit when we add a new translation
Antonio Cuni
make it possible to pass rootdir as a string
Antonio Cuni
add the possibility to explicitly select the destination language
Antonio Cuni
add a passing test about singular vs plural translations
Antonio Cuni
implement caching for ngettext
Antonio Cuni
implement ngettext. No caching yet
Antonio Cuni
implement caching, to avoid repeated lookups in the DB
Antonio Cuni
make (language, msgid) the primary key, and implement delegation to the superclass in case a translation is not found in the DB
Antonio Cuni
start working on the DBTranslator class; it only does db lookups so far
Antonio Cuni
start to work on a Translator which can lookup the translations from a DB
Antonio Cuni
turn i18n into a package, and move the old i18n.py to i18n/translator.py
Antonio Cuni
make _, gettext and ngettext regular methods. This way they can be easily overridden by subclasses
Antonio Cuni
move i18n.py to its own dir, and write a demo example of translated application