fixed language flag path in templates