On 1/13/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
> We're going to build an app that has to run in at least 3 different languages
> (pt_BR, en_US and es_ES).  Since date format differs from one to the other,
> I'd like to know how can I make date input I18Nizable for input using either
> an input field or a widget...  I don't want to put three separate fields (one
> for day, another for month and the last one for year) because even their order
> differs from one language to another (e.g. in pt_BR we have dd/mm/yyyy and in
> en we have mm/dd/yyyy).
>
> So...  I use turbogears.i18n.date_format() on my code and what do I do on my
> template? :-)

This kind of thing would be nice to have built into a widget. I'm
certain it can be done, but I'm really counting on folks who are i15ng
their apps to help out with that kind of thing, because there's
nothing like "eating your own dogfood" to make things work better. And
I'm not eating that particular dogfood myself right now.

Do you want to use the calendar widget, or is there some other kind of
input you want?

Kevin

Reply via email to