Fixed language|locale template

Changed name() to local-name()