On Jul 24, 1:17 am, mdipierro <[email protected]> wrote:
> You can translate dropdowns using IS_IN_SET since its values are
> constant:
> IN_IN_SET(('key1','key2'),(T('value1'),T('value2')))

I guess this is a typo, which you meant as:
IN_IN_SET({'key1':T('value1'), 'key2':T('value2')})

This seems to work well, thanks :)
- a suggestion would be to add this to the book as I think others
should know how to make their applications translatable...

Many thanks,
Fran.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to