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.
Maybe gettext already has some support for this.
That leads me to the question if I should prefer web2py translation system or gettext at all?