dot-matchesLangTemplate function

Check if a language object matches a template language object