Last post Sep 17, 2007 01:25 PM by chintubajaj
Sep 14, 2007 08:56 PM|chintubajaj|LINK
We can register and unregister new cultures using CultureAndRegionInfoBuilder class. Is there a way we can verify if the custom culture has already been created?
I know we can technically verify if the .nlp file has been created in the globalization folder or access the registry however am not comfortable with that approach. So, does .NET2.0 offer a way to verify if a custom culture exists?
Sep 17, 2007 01:25 PM|chintubajaj|LINK
The nearest solution I have received so far is:
static bool CustomCultureExists(string cultureName)
CultureInfo customCultures =
foreach (CultureInfo ci
if (ci.Name.ToUpper() == cultureName.ToUpper())