Handling more complex languages
|Reported by:||Owned by:||hugo|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm Greek, and this isn't anything django-specific. I haven't seen any
project do this right, and it is *very* annoying for us Greeks.
You see, the Greek language has a lot of suffixes that change according
to the tense, person etc (I don't know all the english terminology).
2) Add user
1) Χρήστης (Xristis)
2) Προσθήκη Χρήστη (Xristi)
You see how 1 has a final "s" while 2 hasn't. In other cases there are
3 different forms.
The most annoying and important thing is dates. Not even google gets
this right. You see:
The month known as "November"
November, 7, 2006
Ο μήνας γνωστός ως "Νοέμβριος" (Noembrios)
7 Νοεμβρίου 2006 (Noembriou)
So, when displaying months in a Calendar you have to display the first
form, while when displaying dates (eg. in a comment) you have to use
the second form.
I'm willing to provide a patch to django for this, and I thought about
hacking up DateFormater, but how should I go about this ? It isn't
something gettext can handle, there have to be different behaviors for
In http://code.djangoproject.com/ticket/2282 I proposed creating
different files (that was js though) for different languages. Can
something like this be done for python ?
Should I post a ticket about this ?