You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Hello,
I would like to add entries to languages\pt.py file when a user adds a record.
How can I do that?
Thanks,
JM
Leonel Câmara
unread,
Mar 19, 2019, 5:56:33 AM3/19/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Ideally you don't. Frankly web2py's translation system is not ideal for dynamic content. That said, you can simply put a function in the record's table _after_insert that is something like this: