added wms option to template context
translations moved to applications