Re: Localizing digits

2008-08-19 Thread mrts
I'm using http://babel.edgewall.org/ exactly for that purpose. Works extremely well. There are even some Django-specific extensions at http://babel.edgewall.org/wiki/BabelDjango (I don't use them though). On Aug 18, 4:48 pm, Joost Cassee <[EMAIL PROTECTED]> wrote: > Hi all, > > A Farsi-localized

Re: Localizing digits

2008-08-18 Thread Malcolm Tredinnick
Hi Joost, On Mon, 2008-08-18 at 06:48 -0700, Joost Cassee wrote: [...] > As a starting point I created a template filter that does the > replacing [1] (only for Arabic and Farsi at the moment), and now I'm > looking for the correct place to integrate localized digits into the > Django translation

Localizing digits

2008-08-18 Thread Joost Cassee
Hi all, A Farsi-localized Django site I'm working on will need Farsi digits, so I'm looking for a solution for replacing digits with their localized counterparts. The GNU gettext has support for localized digits using the 'I' flag on numerical format variables, e.g. "%Id". Unfortunately this wor