templates: move select_language into another template.