Hi folks!

Most of what I did previous week is represented by changeset 10956
[1], that basically implements the base for localizing date and number
format on Django.

Summarizing, right now, Django uses gettext and translation catalogs
to store some formats, that are used in few places on Django (admin
list, and object list basically). The idea is moving format
definitions (for every locale) to a specific place for formats, and
use them everywhere in Django, when displaying numbers, dates or any
data sensitive to locales.

For now, I created a first version of this new way to get formats, and
I'm already using it on places where dates were already localized.

There is a little bit of documentation and tests, just as a reference
for myself to know where to complete them after the code is discussed
and modified according to the feedback.

I'll really appreciate your comments, specially the ones complaining
about the code or the way I'm doing something.

Thanks, and kind regards,
  Marc

[1] http://code.djangoproject.com/changeset/10956
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to