Den 29-03-2011 23:06, Claude Paroz skrev:
Hi,
I had to get native language names in a dropdown menu today and I
realized two things:
- capitalization is not consistent. I understand that in some languages,
the language name is always capitalized (English, Deutsch), but for
other ones, it is not ("français", "español", etc.). So the question is
whether the names in name_local list should only be capitalized when
they are always written with a capital letter or if we'd like to have
them always capitalized.
http://code.djangoproject.com/ticket/15714
- The second thing is that some languages are missing the real
name_local: Hindi, Khmer, Kannada, Lithuanian, etc. Please check:
http://code.djangoproject.com/browser/django/trunk/django/conf/locale/__init__.py
Cheers,
Claude
Hi Claude,
I am not quite sure that the problem you are mentioning is the same as
the one that I'm aware of - anyway I think there is a problem which
could be expressed like this:
In the translation template there's a list of language names (in
English). These are all, of course, capitalized, for two good reasons:
1. Language names are always capitalized in English.
2. Since the words stands alone they also are, in some sense, complete
sentences, and the first word in a sentence is always capitalized.
Rule no. 1 does not apply in Danish - we never capitalize language
names. Anyway, in my Danish translation I have capitalized the language
names because of rule no. 2. This makes sense f. ex. if you put the
language names in a list. But if you use a language name in a sentence
(and the word is not the first word in the sentence) the result will be
a language name that is incorrectly capitalized.
If this problem (and other similar ones) should be solved we need a
translation system that can translate one English term into different
terms in another language dependent of context.
Regards,
Finn
--
You received this message because you are subscribed to the Google Groups "Django
internationalization and localization" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-i18n?hl=en.