This is a common difficulty with localizing inflecting languages, such as
Polish. Adding a special field for accusative might do the trick for your
particular case but poses a number of challenges:

There are 7 cases in Polish (okay we may probably safely exclude vocative,
so it's 6) and potentially we may need fields for any of these cases
(singular and plural). The first difficulty is choosing which word form to
pick. Specifying translation context would require special knowledge of the
target language and this is not something a django admin developer can
possibly do.

The second difficulty is that translation contexts are not universal. For
example, not all noun cases that are meaningful in Polish will be
meaningful in Hungarian, and vice versa.

The third difficulty is that occasionally the word which being interpolated
may impact the enclosing phrase (e.g., if a gender agreement is required or
if the interpolated word has no plural/singular forms).

So I'm afraid there's no easy fix for this, other than to craft your
translations to sound less artificial with nominative forms and to wait for
further advances in computational linguistics.



On Sat, Jan 17, 2015 at 4:56 PM, Bartosz Wiśniewski <[email protected]>
wrote:

> Hi,
>
> I had a request to write simple app using only django admin. Always used
> English names but they asked me to change model names to polish. I used
> verbose_name and verbose_name_plural but the polish language is not so
> easy, so there were some grammar problems with messages. Then I thought to
> use accusative form of model names - it look better, but still some
> messages had grammar errors in:
> - delete confirmation
> - list view with one column
> ...they had to be in nominative form.
>
> So I added another optional field to meta class of base model - which I
> use with list view and delete confirmation if it's not None. Do you think
> it would be possible to add it into django?
>
> Just wanted to ask fast question, but I can paste some examples or diff...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django internationalization and localization" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-i18n.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django internationalization and localization" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-i18n.
For more options, visit https://groups.google.com/d/optout.

Reply via email to