Hi everyone

http://mysite.freeserve.com/ridas/download/ridas/datetime/locales/locale20030619.tgz

Lot of changes here (better for you Joshua? :), so please give it a good
test run and see what you think.

Look at example.pl to get an idea of how things work - you could read the
docs, but they're a bit heavy going ATM. 

I'm looking at one further release before it hopefully goes into CVS (will
that be ok Dave?), so feedback is more important than ever!

Now is probably also the time to discuss what DateTime API changes will be
needed to support DT::Locale.

Cheers,
Rich

######################################################################################
2003-06-19 Developer feedback release 4 (The BIG one)

-- Documentation moved into separate .pod files.

-- Added locale id aliasing.

-- Default fallback locale support. If no substitute is found for
   a requested locale, a user specified locale can be returned
   instead of throwing an exception.

-- A number of ICU locales with no calendar specific meaning have been
   removed and are now aliased: EURO, PREEURO etc.

-- ISO 639-2(B) and 639-2(T) language codes are supported via optional
   DateTime::Locale::Alias::ISO639_2 module.

-- DT::Language names are supported via optional
   DateTime::Locale::Alias::Language module.

-- DateTime::Locale->register() for adding custom locales.

-- DateTime::Locale::CustomInstall can be used to register custom locales
   automatically. NOT DOCUMENTED!

-- Coverage now includes most of the Yeha Locales for East Africa project
   data. CAUTION - This data should be treated as work in progress.
   OOPS - DELAYED TILL NEXT RELEASE!

-- The utf8 changes in DFR3 removed the need to maintain hashed object
   attributes. As a direct result of these changes, Base.pm subclasses no
   longer require an explicit constructor.

-- BACKWARDS INCOMPATIBLE CHANGE: DateTime::Locale::Base methods that
   previously returned lists or array references depending on the calling
   context now only return array references. This simplifies the subclassing
   requirements.

-- BACKWARDS INCOMPATIBLE CHANGE: A number of methods have been renamed for
   simplification:

   DateTime::Locale::Base:

     locale_id                => id
     am_pm_list               => am_pms

   DateTime::Locale:

     locale_ids               =>  ids
     locale_id                =>  id
     locale_names             =>  names
     locale_name              =>  name
     native_locale_names      =>  native_names
     native_locale_name       =>  native_name
     locale_language          =>  language
     locale_territory         =>  territory
     locale_variant           =>  variant
     native_locale_language   =>  native_language
     native_locale_territory  =>  native_territory
     native_locale_variant    =>  native_variant

Thanks to Ben Bennett, Dave Rolsky, Eugene Van Der Pijll, Joshua Hoblitt,
Rick Measham for continued feedback. Thanks to Daniel Yacob for his quick
replies to my Yeha queries.
######################################################################################
-- 
Richard Evans
[EMAIL PROTECTED]

Reply via email to