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
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
''') }}
""")
>> XX X XXX
X
XX
So it can be seen that templatize function marks multiline strings as not
needed to translate.
суббота, 31 мая 2014 г.,
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.
> >
> &g
4 matches
Mail list logo