Hi Андрей,
Unless you can reproduce this with Django's own template language -- which
*doesn't* support multiline content, it's not a bug. However, Jinja2 use is
common in the community, so if we can apply a patch that improves Jinja2
support, then we'd certainly consider that patch.
Yours,
Russ
I'm using Jinja2. There _() construct is equivalent to ugettext().
I tried 'blocktrans' tag - it really works, that right).
But what to do with Jinja2 templates? Or may be this is not a bug but some
sort of improvement for compatibility with Jinja2?
On 31 May 2014 15:20, Ramiro Morales wrote:
On Sat, May 31, 2014 at 7:50 AM, Андрей Меньков
wrote:
>
> I thing the problem is in function django.utils.translation.templatize. It's
> implementation could be found in django.utils.translation.trans_real module.
>
> From docstring for it:
>
> Turns a Django template into something that is under
Hi, Russ.
Thank you for such a detailed response.
I think I have ever found the place where this really occurs. I was posted
this message more for knowing if this really a bug or not (maybe I don't
know something about template translation and multiline strings in them).
I have used Jinja2 for
Hi Андрей,
On Fri, May 30, 2014 at 9:50 PM, Андрей Меньков <
nothingelsematte...@gmail.com> wrote:
> May be it would better to post this to "Django developers" mailing list?
>
Possibly - if you think you've found a bug, django-developers is a better
audience for that. django-users is a better au
May be it would better to post this to "Django developers" mailing list?
пятница, 30 мая 2014 г., 15:53:56 UTC+3 пользователь Андрей Меньков написал:
>
> Django management command doesn't recognize multiline strings as strings
> to localize. So such strings don't appear in resulting django.po fil
Django management command doesn't recognize multiline strings as strings to
localize. So such strings don't appear in resulting django.po files after
running command
For example for such a string
{code}
{{ _(''' fhsdafjkshdfjkasdhfksj
ytyerwtuiwyertuiywert''') }}
{code}
I might be the b
7 matches
Mail list logo