Is there anyway to create an instance of cultureInfo object using the full displayname:
CultureInfo userCulture = new CultureInfo("Japanese (Japan)");
or convert the full displayname to culture code:
toCultureCode("Japanese (Japan)");
would return "ja-JP"
There’s no builtin method to get a culture by it’s english name, so you could write one:
DEMO
The
toCultureCodeisToString: