- Home /
Problem getting month name in Malay language,How can i get current month name in Malay language?
Hi, I want to get current month name in Malay language, but I keep getting this error:
"ArgumentException: Culture name ms-MS is not supported Parameter name:name"
Here is my code:
private DateTime _dateTime = DateTime.Now; CultureInfo malay = new CultureInfo("ms-MY"); currentMonth = _dateTime.ToString("MMMM",malay); Debug.Log(currentMonth);
Can please somebody help me? I have tried using other languages and it seems the code is correct. This only happens for Malay language. Thanks in advanced.,Hi, I have been searching for a solution to get months name in the Malay language. I keep getting this error:
"Culture name ms-MY not is not supported Parameter name: name"
Here is my code: private DateTime _dateTime = DateTime.Now; CultureInfo malay = new CultureInfo("ms-MY"); currentMonth = _dateTime.ToString("MMMM",malay); Debug.Log(currentMonth);
Another language are supported since I have tried many languages before this but for Malay languages, I keep getting this error. Can somebody help me, please? Thanks.
Your answer
Follow this Question
Related Questions
Whats the best way to implement different languages? 2 Answers
how to detect keyboard language? 2 Answers
What is Mono? Is it a compiler? A language? Or what? 3 Answers
adding localization 1 Answer