On Mon, 2009-04-20 at 15:04 -0700, Marc Garcia wrote:
> Hi folks,
> 
> just to warm up for my Google Summer of Code on i18n, I want to start
> a discussion on to simple things...
> 
> 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.

I think gettext format would be inappropriate. Most of them are going to
be Python format things, so just use a Python file.

> 
> May be something like
> 
> django/conf/locale/en/LC_SETTINGS/django.po

I don't particularly like the idea of introducing a fake POSIX-like (or
SuS-like) directory name there. It's only going to be one file. So maybe
just shove it under django/conf/locale/en/. We use LC_MESSAGES right now
because of the gettext side of things, but a lot of these locale stuff
isn't going to be interpolated with gettext, I would suspect, so it's
probably not useful to add another directory.

In any case, that's minor. I would definitely like to keep it as a
single file, rather than anything like one file per option, as I've
indicated to you in the past. (To fill everybody else in, Marc and I
have discussed this type of problem a lot over the past year or so, so
some of the discussion here in the future will be to fill in
background.)

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to