Yes, doing it your way (var language = 'es'; to web/settings.js) works perfectly.
when trying to do var language='es'; it translates nothing.
But when I write language='es' (picture above) i get this (picture below):
So everything is translated except Today :)
I want to switch languages depending on some DB record - that's why I'd like to do that dynamically. Any ideas?
For best results, use the Firefox browser..