public void SetLocale(string file) { var doc = new XPathDocument(file); SetLocale(doc.CreateEvaluator()); }