On Sat, Apr 10, 2010 at 6:27 PM, Christopher Steel <[email protected]> wrote: > WoW! > > Mariano, this totally rocks! Massimo, thanks for pointing this awesome > plugin out to me! > > I am trying to figure out how to get it working with French and > English like on http://www.sistemasagiles.com.ar with the menu > translations. The flatplugin encapsulated exactly what I was trying to > do in a, umm, more round about way.
Thanks, The menu is made with the MENU helper using T() for translations. The language is set based on the browser setting or following a ?lang=xx link in the page (you can provide ?lang=fr and ?lang=en for french and english) Beware that, by example, "en-ca", "en-us", "en", are distinct languages for web2py, but all are treated as "en" in flatpages-plugin. I'm thinking of making a navbar plugin that automatically generates menu from the database. It would be nice to edit/translate the menu and mark current page even more easily. :-) Best Regards, Mariano Reingart http://www.web2py.com.ar http://www.sistemasagiles.com.ar http://reingart.blogspot.com -- To unsubscribe, reply using "remove me" as the subject.

