Hi Omar,
Your message saved my day, I didn't think it would be because of such
a simple reason that make-messages.py omits my template files. I
actually just opened make-messages.py and changed '.html' to '.htm' in
two places, and that solved it. I just have to watch out the next time
I do an update, I guess.
Cheers,
Ulas
On Apr 30, 2:48 pm, omat <
o...@gezgin.com> wrote:
> And ...
>
> If you would like to add a few words to the translation, like menu
> items, etc. without going into views and database, donotput them
> into the .po file directly. They will be commented out each time you
> run make-messages. Also there can be duplications that will result in
> errors.
>
> More maintainable (though hacky) way is to create a template file such
> as translation.html and put the strings to betranslatedinto that
> file such as:
>
> {% load i18n %}
> {% trans "Home page" %}
> {% trans "Continue" %}
>
> On Apr 30, 3:14 pm, omat <
o...@gezgin.com> wrote:
>
> > Hi,
>
> > I was wondering why my emailtemplateswerenotgettingtranslated. It
> > took me hours before I check the bin/make-messages.py and figure out
> > that only some files, depending on their extensions, aretranslated.
>
> > I thought make-messageswereworking in more django-aware manner and