Stifan, I'm sorry but that seems like a terrible way to do it as you would
have different values in the database depending on the language of the
user, and, even worse, you could have different values for the same thing
for the same user if you start without a translation in his language and
then add one. So, comparisons like the one in your example can actually
stop working; you could add a field to the table so you could remember what
language each row was submitted with, but that seems a bit convoluted to my
primate brain.
Quinta-feira, 12 de Dezembro de 2013 12:23:51 UTC, Ruud Schroen escreveu:
>
> Hi,
>
> Is it possible to translate the strings inside requires=IS_IN_SET?
>
> For example i have
>
> requires=IS_IN_SET(('Allowed','Not allowed'))
>
> Now i'd like to translate "Allowed" and "Not allowed"
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.