[web2py] Re: Localize JavaScript

2016-05-28 Thread Jeff Riley
All, Ok I think this would help my situation, but I am missing how to execute the Ajax. I have four views that contain the same javascript and would really like to move to the static js folder, but the javascript requires elements passed to the views from the controllers. The "Drawtext"

[web2py] Re: Localize JavaScript

2016-03-23 Thread Mirek Zvolský
Thanks, that is not bad (and not good, but not bad). Dne středa 23. března 2016 11:30:18 UTC+1 Leonel Câmara napsal(a): > > Do it the same way the welcome application does in web2py_ajax.html > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Localize JavaScript

2016-03-23 Thread Leonel Câmara
Do it the same way the welcome application does in web2py_ajax.html -- 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

[web2py] Re: Localize JavaScript

2016-03-23 Thread Mirek Zvolský
no idea ? Dne středa 16. března 2016 10:12:31 UTC+1 Mirek Zvolský napsal(a): > > Any idea how to localize JavaScript texts? > > I think I need > generate some js code with objects/dictionaries (similar to web2py > language files) > and make a function which will seek in this dictionaries. > >