To sum up what Larsen said, in certain languages, adjectives relating to nationalities, i.e. everything of origin, such as citizenship, the language, etc., are not capitalized, abiding by the capitalization rules for common nouns (to the best of my interpretation).
Here's an extract from the Wiki http://en.wikipedia.org/wiki/Capitalization#Adjectives "Adjectives referring to nationality or ethnicity are not capitalized in French, even though nouns are: un navire canadien, a Canadian ship; un Canadien, a Canadian. Both nouns and adjectives are capitalized in English when referring to nationality or ethnicity." I agree that Larsen has made a good point when mentioning how it'd make perfect sense to capitalize the language names in `name_local` in a likely scenario, when all of the available languages are listed on a website. However, that can easily achieved by filtering the language names to capitalize them, but if we do so in the source translation-- we loose such valuable information that just might be important to someone for their particular application. Since we're writing the native language names, I wouldn't capitalize `name_local` if such a rule doesn't apply in the native language. Cheers, Filip On Mar 30, 4:28 pm, Claude Paroz <[email protected]> wrote: > Le mercredi 30 mars 2011 à 08:48 +0200, Finn Gruwier Larsen a écrit : > > > > > > > > > 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... > > > > 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: > > (...) > > No, the problem I mentioned is not in the translation templates, it's in > Django code (see second link above) and is about the native language > names. > Anyway, thanks for your input. > > Claude > --www.2xlibre.net -- 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.
