/// <summary> /// Test to determine if the a particular culture or comma- /// delimited set of cultures is in use. /// </summary> /// <param name="culture">Name of the culture or comma-separated list of culture ids</param> /// <returns>True if the culture is in use on the system</returns> private bool IsCurrentCultureIncluded() { foreach (string culture in Cultures.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries)) { if (culture == CultureInfo.CurrentCulture.Name) { return(true); } } return(false); }