Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2531 closed defect (worksforme)

Don't add "s" in Czech translation

Reported by: anonymous Owned by: hugo
Component: Internationalization Version: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Django adds on many places 's' to table name and so on, to present plural. But in Czech are other methods to make from word plural and are match more complicated. Adding single s ist worster, that just present table name.

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by adrian

  • Resolution set to worksforme
  • Status changed from new to closed

We've removed automatic pluralization for table names -- this no longer happens. As far as I remember, there is no more automatic pluralization anywhere in Django, other than in the calculation of verbose_name_plural, which you can override very easily in a model's class Meta. Are you sure you're on the latest version of Django?

comment:2 Changed 8 years ago by anonymous

I have now checked version from svn and in http://example.com:8001/admin/ all my own defined tables have names consisting of model name and "s".

But really using

class Meta:

verbose_name_plural = 'Django is great'

works. But I don't see any advantage in need to define verbose name for every model.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.