Hi Maciej,
Thanks for your suggestion. This is nearly the kind of thing that I wanted
to do.
But if I am not mistaken, makemessages cannot capture expanded messages,
since it analyses the code when it is not running, so it cannot predict
what will be expanded. So it seems to me that changing th
Hi Strahinja,
To achieve what you are writing about, you should fork Django and change
gettext calls occurences as you described. For example line 290 in
helpers.py:
gettext('*Add* *another* %(*verbose_name*)s') % {'*verbose_name*':
capfirst(verbose_name)}
would be changed to:
gettext('*Add* *a
Hi Mathias,
Thanks for sharing your example. I agree, there is no point attempting to
provide automatic inflections.
I was just wondering the following:
At present, the message file for the app can be made to provide
translations for all messages with inflected forms that appear in the app.
H
On Fri, 10 Nov 2017 09:00:08 -0800 (PST)
Strahinja Lukic wrote:
> I am relatively new to Django, and I recently ran into the problem of
> translating messages with automatic inclusion of model names / verbose
> names into a language in which nouns are inflected depending on the gender
> and ca