title: Translating a vb.net win forms application
body: <p>I need to translate an English winforms application I built to Arabic (and potentially other languages as well). I understand on the actual forms it's relatively easy to get the translation working as described <a href="https://msdn.microsoft.com/en-us/library/aa289763(v=vs.71).aspx" rel="nofollow">here</a>. I just set the language, set the labels etc and move on.</p>
  
  <p>However, what is the best way to translate text that is in the code? For instance, I have a message box that said: "Are you sure you want to quit". Other pieces of code changes the text on labels etc. The quick and dirty way would be to lookup the current language and set the label appropriately, but I'm sure there must be a better way. I guess ideally I would not want to touch the code, but only create a mapping file from English to another language. Would something like that be possible or what is my best option here?</p>