add lang variable to template