c# - Change language for MessageBox button's text -


I want to text on the message box, say, in Russian, French, etc. - in different windows by default Compared to the set

Is there a way to do this without creating a custom message box?

Avoid spending too much time and energy on your app's user always received a message box In which he is familiar It will show the text that matches its language, which is similar to the rest of Windows. Someone who speaks Russian as their native language does not need to go French if they fly. If he actually does this, he would have bought a license for the last version of Windows, which allows to change Windows language quickly.

Your app will follow the suite, unless you override the default culture and have localized your app. Be careful that overriding the default culture of the UI thread is a very dangerous thing, Threadpool threads that use .NET (or for that matter) still run in the default language. Due to various string comparison rules this may cause very subtle problems. For example, a sorted list in a thread will not be sorted out in another thread, due to which the binary search is malfunctioning.


Comments