Russian localization of django admin is poor. It is even worse then my English :D.
Of course, I do not like it, I believe that Meta property of Admin-related objects (like ModelAdmins and Inlines, for example) are suitable for storing all the custom letters(Such as "Add new %modelname%") from admin-forms.
Also, I think we may add custom admin widgets for every application, for example, we define a Meta class in application __init__.py, where we make add property widget_template, and add there something custom instead of default links.
How so? Can you provide a few examples -- I know that numbering can be a problem for Russian translations, but that's hardly a problem of the admin itself.
Also, I think we may add custom admin widgets for every application, for example, we define a Meta class in application __init__.py, where we make add property widget_template, and add there something custom instead of default links.
I don't see any benefit in this, you'll need to explain this in more detail.
Do you see red line? Here, instad of simple link, some custom information may be shown. For example, "N new users registered in last 24 hours" and staff like that.
Also, notifications in main page of admin panel may be useful, for example: Blog application, where admins can publish posts and users can comment them. When post, published by me is commented, Blog application pushes new notification, and I can see an active button in admin(Something like github notifications).
Thank you for your answer,
Best 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 django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
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/de489d7d-dd72-42fc-9497-785771ad23a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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".
admin-translations/|____ModelOneLetters.po|____ModelTwoLetters.po|____...
#: Add new item to database letter.msgid "Add new ModelOne item"msgstr "Добавить первую модель"
#: Edit item letter.
msgid "Edit ModelOne"
msgstr "Редактировать первую модель"
...
--
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 django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
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/c75be3e4-0280-4ead-9204-76d632c33503%40googlegroups.com.
I believe that there is a better solution than requiring that all strings be retranslated for every new app that you create, it's just not as trivial as the naive solution that Django currently uses.
admin-translations/|____en/|____default.po # English is OK now, no need to do any changes|____ru/|____default.po # Fallback for models with no-translations|____ModelOne.po # translation for first model, by default generated in the same way as now.
MediaWiki has a well evolved and mature translation system that deals with a very large range of languages, and I think it would be worthwhile to check out how they do it there in detail.