On Tue, 2009-04-21 at 01:47 -0700, Fidel Ramos wrote: > On Apr 21, 12:04 am, Marc Garcia <garcia.m...@gmail.com> wrote: > > just to warm up for my Google Summer of Code on i18n, I want to start > > a discussion on to simple things... > > I'm glad to see something is going to finally get done in i18n and > l10n, which mostly sucks right now. > > > First thing is where to place l10n settings. In my opinion it should > > be under the existing directories for every locale, so for example > > django/conf/locale/en/ and we should use gettext format as for the > > messages. > > > > May be something like > > > > django/conf/locale/en/LC_SETTINGS/django.po > > > > would be ok. What do you think? > > I'd prefer keeping it at settings.py, maybe as a dictionary of > languages:
You're missing the point of these things. The whole idea is that they aren't settings people will have to change. In fact, they should be encouraged not to, by and large. Sometimes overriding will be possible and necessary (e.g. there are a few default date formats), but Marc's correct to think about them as locale settings. We don't keep translated strings in settings.py and these exist at the same level of configurability. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---