On Tue, Jul 22, 2003 at 11:36:13AM -0500, Dave Rolsky wrote:
> On Tue, 22 Jul 2003, Ben Bennett wrote:
>
> > 1) Will DateTime 0.14 be the first release with locale support? If
>
> Yes, and yes. I'll be releasing this stuff soon, I think.
Ok, in that case I will check it in with a dependency on .14 (which
will mean that you can't install it without warnings for a little while).
> > 2) Can I add the sub _date_parts_order to the locales? I have the
> > patch to generate_from_icu that does this if you want to see it.
>
> Sure, go ahead, but make it "date_parts_order". It'll be public, after
> all.
Will do.
> >
> > 3) I think I need to have additional per-locale information
>
> So you plan to customize this for every locale? Ambitious.
Well... No. :-) But I plan to have a way to set it for any locale
and I will impose upon the nice people on this list who speak other
languages to tell me the appropriate values for their locale. For
ones we haven't done it will inherit the root locale value.
I am also going to make a decent attempt to do the right things with
the AM/PM and BC/AD strings. (And I will probably accept the English
versions of those for all locales anyway).
> > So, I propose to per-locale additional information. However, I am
> > not sure if it makes sense to augment the DT::Locale files or to
> > have a separate DT::F::C::Locale tree. It might be wise to allow
> > for additional day and month name variations too. Obviously it
> > should default to the DT::Locale stuff whenever possible.
>
> It almost certainly belongs in the DT::Locale code. I'll come up with a
> way to hook in our extra data to the generation process. There's already
> something in the generator to override the ICU stuff when it's wrong, so
> it shouldn't be too hard.
Ok, if you don't get to it I will take a look sometime. I assume that
you want this to come from a separate source than the ICU data?
Probably a new directory and file per-override?
-ben