tower icon indicating copy to clipboard operation
tower copied to clipboard

A library that builds on Babel and Jinja to make extracting strings easy and uniform

Results 9 tower issues
Sort by recently updated
recently updated
newest added

I tried porting my own library to Python 3(.4), that depends on tower, and fixed some Python 3 errors in tower along the way. Unfortunately it's not yet possible to...

Tested with python 3.6

Newer versions of jingo and django-nose no longer work with older versions of Django, so pin to get tests passing again.

There was a previous attempt https://github.com/clouserw/tower/pull/32 but now translate-toolkit supports python3. I would be happy to add python3 support, if there is interest.

Getting this error: ``` line 8, in from django.utils.importlib import import_module ImportError: No module named importlib ```

While looking at another issue I installed a newer Babel and got some unit test errors. Turns out Babel supports contexts now when it is extracting. Maybe we can drop...

Should the following two lines: https://github.com/clouserw/tower/blob/master/tower/__init__.py#L55-L56 use six.text_type instead of unicode like here: https://github.com/django/django/blob/master/django/utils/translation/__init__.py#L99 ?

Currently merge.py assumes 'locale' is in the root directory of a django project. I've been working on recent django projects where locale exists in a subdirectory. If we can default...

I don't think Jingo is entirely required, but things like calling JINJA_CONFIG() make that hard... not sure what the best solution here is. For a starter making JINJA_CONFIG optionally callable...