Hi folks, for those who don't know it, I've been working on a branch, where I fixed some bugs, and where I tried to improve Django's i18n in general. Basically what's done, is making Django consider current locale when working with dates, numbers and calendars. For example, admin's calendar, now, will start weeks depending on the current locale, not always on Sunday.
Right now, this branch is in a kind of beta status, and feedback from the community will be great. To give it a try, follow next steps: * Get the branch from subversion [1], and use it for an existing project, or for a new one. * Set up you settings file, to make sure you enable all the formatting stuff. To do this make sure USE_I18N is set to True, and create a new setting USE_FORMAT_I18N, also set to True. * Check if all formats for your locales are set on the branch. We imported some of the formats from the CLDR (a unicode set of locale definitions), but there are some that are not available. Formats are defined in django/conf/locale/<locale name>/formats.py . You should check that there is no setting commented or lacking value, and if there is, please complete the file and mail me the patch, so I can include it in Django. You will find documentation on what every setting means on the settings documentation [2]. There is a list of tickets that have been fixed on this branch for now [3]. It could be a start on things to try. You can also check "Format localization" chapter on i18n docs [4]. Thank you for your feedback, Marc [1] svn co http://code.djangoproject.com/svn/django/branches/soc2009/i18n-improvements [2] http://code.djangoproject.com/browser/django/branches/soc2009/i18n-improvements/docs/ref/settings.txt [3] http://code.djangoproject.com/query?status=new&status=assigned&status=reopened&keywords=~i18n-fixed&order=priority [4] http://code.djangoproject.com/browser/django/branches/soc2009/i18n-improvements/docs/topics/i18n.txt#L1085 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django I18N" 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-I18N?hl=en -~----------~----~----~----~------~----~------~--~---
