Re: [web2py] Re: Translate language help

2017-11-08 Thread António Ramos
Than you Leonel. I solved it. 2017-11-08 15:46 GMT+00:00 Leonel Câmara : > Check how prettydate does it https://github.com/web2py/ > web2py/blob/master/gluon/tools.py#L5535 > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (So

[web2py] Re: Translate language help

2017-11-08 Thread Leonel Câmara
Check how prettydate does it https://github.com/web2py/web2py/blob/master/gluon/tools.py#L5535 -- 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 receiv

[web2py] Re: Translate language help

2017-11-07 Thread António Ramos
the function h comes from human borrowed from this code.. [image: Imagem inline 1] 2017-11-07 18:02 GMT+00:00 António Ramos : > Hello my code > {{=T(h(event[" > events"]["at"]+datetime.timedelta(hours=-utc),utc) +"ago")}} > > > is generating a lot of keywords in my language file > How can i