https://groups.google.com/forum/#!topic/django-developers/uxzcdHPDfTk -
This is the original topic.
Hello, my name is Alexey, and I'm from Russia. I'm a first-year student in
South-West State University, Faculty of Foundamental and Applied
Informatics.
Admin localization for Russian language is poor.(See original thread, there
was a message from the other russian speaking developer, where he says that
problem actually exists.).
> There are three grammatical genders in Russian, and all the words in
> sentense should match gender of subject.
> For example, we have two models. *Article* and *Post*.
> In English we say *"Add new Article"* and *"Add new Post"*, right?
> But in Russian article's grammatical gender is "female", but post's
> grammatical gender is "male", so we should say "Добавить нов*ую* Статью"
> for "Add new Article" and "Добавить нов*ый *Пост" for "Add new Post".
> The suffix (bold) depends on noun's(Model name in this case) grammatical
> gender.
> I believe, this problem takes place not only in Russian, but,
> unfortunately, I speak only Russian and English.
>
The main reason of translation troubles is dynamically generated strings,
like this:
*"Add new {{ model.verbose_name}}"*
In some languages one cannot translate first part of sentense, then the
other and then concatenate them. This will casuse grammatical errors in
some languages, like Russian.
I strongly believe that sentense should be "atomical" unit of translation,
that's why, let's provide
*django-admin.py translate-admin language-name *
command, which will create folder with translation files, and all the
strings should be taken from theese files.
> I believe that there is a better solution than requiring that all strings
> be retranslated for every new app that you create.
Comment in the first topic.
Yes, this problem seems to be serious problem. That's why I propose
fallback to current solution when there are no translation files, because
this solution is suitable enough for languages like English, without
grammatical form matching between words in sentense.
Thanks for your time,
Regards,
Alexey
--
You received this message because you are subscribed to the Google Groups
"Django developers" 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-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/83b2c7f8-63d1-495f-95e2-4f9e672f205e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.