So, il get straight to the point Ive got 2 questions
First: How can i enable multi languages in C# Application? For example i wrote this:
static void Main()
{
Console.WriteLine("Dude, what's up?"); //English
Console.WriteLine("אחי, מה קורה?"); //Hebrew
Console.WriteLine("好傢伙,這是怎麼回事?"); //Chinese
Console.WriteLine("おい、最大何ですか?"); //Japanese
string answer = Console.ReadLine();
if (answer.Language == Hebrew)
Console.WriteLine("You wrote on: {0}", answer.Language);
else if (answer.Language == Japanese)
//Do something else...
//And so on and on...
Console.ReadKey();
}
And it print me on the cmd.exe this:
So, how can i enable the hebrew and chinese and more languages in my C# application?
And my second question is:
How can i get the language of the string?
if (answer.Language == Hebrew)
Console.WriteLine("You wrote on: {0}", answer.Language);
else if (answer.Language == Japanese)
//Do something else...