Re: how to deal with not translated strings in html

2015-03-06 Thread Ilya Kazakevich
What is the point of NOT translating "month" to English? There are several solutions: 1) Create custom templates / custom tags and include them based on language. For example you may have "foo.nl.html" and "foo.en.html" and include "foo..html". But I believe using different HTMLs for different

Re: how to deal with not translated strings in html

2015-03-04 Thread Jaap van Wingerde
Op 2015-03-03T17:41:21 UTC schreef Jaap van Wingerde in the message , mid:20150303174121.024af...@jaap.custard.shrl.nl the following text. > ../locale/en/LC_MESSAGES/django.po: > > ... > #: template.html:4 > msgid "jaar" > msgstr "year" > > #: templates.html:4 > msgid "maand" > msgstr "" > ...

how to deal with not translated strings in html

2015-03-03 Thread Jaap van Wingerde
../locale/en/LC_MESSAGES/django.po: ... #: template.html:4 msgid "jaar" msgstr "year" #: templates.html:4 msgid "maand" msgstr "" ... ../templates/template.html: {% load i18n %} ... {% trans "jaar" %}{% trans "maand" %} ... resulting html: ... yearmaand ... better html: ... yearmaand ...