Friday, June 27, 2014

Translations

Dear all,


I'm trying to get the translations to work. After running makemessages I
find about 2500 items in the .pot file, not even 100 of which are of my app.

Most of them are from the "localflavor" package, also from
"django/contrib/admin" or even the names of the months from
"django/utils/dates.py".
Obviously I'm doing something wrong? It cannot be that the names of the
months in a standard Django package are not translated?
The localflavor package tries to make me translate all the names of the
cities in the world. I'm not using it, but still tried adding it to to
INSTALLED_APPS
so maybe makemessages would find its translations, but no luck.

I must be missing something?

And then also the duplicates, when importing the pot file into poedit it
complains about duplicates. What's the recommendation here?
Generally do you keep duplicates or do you merge them? (How many times
does one really want to translate "homepage" and "email" ?)


Thanks!
Joris

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/53ADD01D.6020408%40promani.be.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment