I'm trying to obtain region info by ISO 3166-1 TwoLetters country name - "MD".
var r = new RegionInfo("MD");
But I'm obtaining the following exception:
Culture name 'MD' is not supported.
This is strange because Microsoft Table of supported countries Moldova is present:
http://msdn.microsoft.com/en-us/library/dd374073.aspx
For a short time in the 1990s, at the founding of the Commonwealth of Independent States, the name of the current Republic of Moldova was also spelled Moldavia. After the dissolution of the Soviet Union, the country began to use the Romanian name, Moldova.
Sandwiched between Romania and Ukraine, Moldova emerged as an independent republic following the collapse of the Soviet Union in 1991. Moldova is one of the poorest countries in Europe, with its economy relying heavily on agriculture.
During the Second World War it was occupied by the Soviet Union which reclaimed it from Romania. It joined the Union as the Moldavian ASSR, until the dissolution of the USSR. In 1991 the country declared independence as the Republic of Moldova.
According to the MSDN documentation on RegionInfo about the cultures names:
The predefined culture names are listed in the National Language Support (NLS) API Reference at the Go Global Developer Center.
When you go to National Language Support (NLS) API Reference, MD
is not found in there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With