...you can see an example of the two lines you will want to provide at the top of:
applications/examples/languages/it-it.py On Thu, Aug 13, 2009 at 2:12 AM, mdipierro <[email protected]> wrote: > > You do not need to do that. > > Just use the EDIT page, create a language file for mexican and > translate the format strings. This will be taken care of automatically > everywhere. > > On Aug 12, 3:06 pm, Francisco <[email protected]> wrote: > > Hello everyone. > > > > I have just started learning web2py. It's really great! > > Now the question I have is about the locale. > > I'm from Mexico so my applications must be in Spanish. In some part of > > the application I want to get a date doing something like this from > > within a view: > > > > {{=consulta.fecha_consulta.strftime("%A %d %B %Y")}} > > > > and it works, but the date is displayed in English. In what way can I > > set the locale for the date to be displayed in Spanish? > > > > Thanks for the help. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

