Put translate tags around all text in templates

and sundry modifications related to this, including setting the language
in the view.