Re: Translation of group permissions

2021-05-24 Thread Ramez Ashraf
This is an old decision not to store translated strings in the db... and it's makes sense what if your site is multi lingual ? Solution: The widget should be replaced with a another widget that display the permissions in a dynamically translated fashion. There is this app to address that and to

Re: Admin change list header for languages with grammatical cases

2021-05-24 Thread Ramez Ashraf
Thank you for bringing this up Arabic is one of those language, the issue comes with masculine and feminine nouns. " Select {model} to change" If model noun is masculine then it's ok... if a feminine one then it's not correct. Example: Correct أختر مقال لتغييره Wrong/awkward اختر هيئه لتغيير

Is it possible to disable verbose_name_plural if add_permission is False?

2021-05-24 Thread al...@alexnewby.com
If there is an inline admin, the inline_admin_formset verbose_name_plural is displayed even if add_permission is False and there are no existing objects. https://github.com/django/django/blob/7ef2398e814e044d54b68359d473cc64902a8c31/django/contrib/admin/templates/admin/edit_inline/stacked.html#L

Re: Admin change list header for languages with grammatical cases

2021-05-24 Thread Maciek Olko
Thank you Ramez, Could you confirm that grammatical case in Arabic in case of this sentence ("Select {}") it is an accusative (المنصوب)? https://arabic.desert-sky.net/g_cases.html#acc Kind regards, Maciej pon., 24 maj 2021 o 10:18 Ramez Ashraf napisał(a): > Thank you for bringing this up > >

Re: Admin change list header for languages with grammatical cases

2021-05-24 Thread Ramez Ashraf
Yep Confirm. On Monday, May 24, 2021 at 10:52:15 PM UTC+2 macie...@gmail.com wrote: > Thank you Ramez, > > Could you confirm that grammatical case in Arabic in case of this sentence > ("Select {}") it is an accusative (المنصوب)? > > https://arabic.desert-sky.net/g_cases.html#acc > > Kind regards