<p>I'm using Visual Studio (2005 and up). I am looking into trying out making an application where the user can change language for all menues, input formats and such. How would I go on doing this, as I suppose that there is some complete feature within .Net that can help me with this?</p>

<p>I need to take the following into account (and fill me in if I miss some obvious stuff)</p>

<ul>
<li>Strings (menues, texts)</li>
<li>Input data (parsing floats, dates, etc..)</li>
<li>Should be easy to add support for another language</li>
</ul>

[{'answer_id': 66089, 'author': 'Vasco Duarte', 'author_id': 9362, 'author_profile': 'https://Stackoverflow.com/users/9362', 'pm_score': 1, 'selected': False, 'text': "<p>For strings you should just separate your strings from your code (having an XML/DLL that will transform string IDs to real strings is one way to go). However you do need to make sure that you are supporting double byte characters for some languages (this is relevant if you use C/C++).</p>\n\n<p>For input data what you want is to have different locale's. In Java this is relatively easy, and if you use C# it probably is quite easy also. In C/C++ I don't really know. The basic idea is that the input parsers should be different based on the locale selected at that time. So each field (textfield, textbox, etc.) must have an abstract parser that is then implemented by a different class depending on the locale (right to left, double byte, etc.).</p>\n\n<p>Check the Java implementation for details on how they did it. It is quite functional.</p>\n"}, {'answer_id': 66126, 'author': 'Randyaa', 'author_id': 9518, 'author_profile': 'https://Stackoverflow.com/users/9518', 'pm_score': 2, 'selected': False, 'text': '<p>I\'m not an expert with .NET by any means but Localization is never just as simple as "swapping out String values" or "changing date formats".  There is much more to be taken into consideration such as layout, proper text placement.</p>\n\n<p>Take Chinese for example.  The way you read is top to bottom not left to right.  If properly localized the app should take that into account.</p>\n\n<p><a href="http://msdn.microsoft.com/en-us/library/y99d1cd3(VS.80).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/y99d1cd3(VS.80).aspx</a> seems to be a good start though if you\'re dealing with Windows Forms.</p>\n'}, {'answer_id': 66131, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': "<p>The classic recipe is: design the app with no native language but a localization facility, and develop an initialization into one language (e.g., English).  So you build the app and localize it into English every night; without the localization step it would not be usable.  Do that well, and the resources for the initial sample localization can be replaced with those for any other language.  Take into account non-roman scripts from the beginning.  It's much cleaner to have a no-language app that always requires localization rather than a language-specific app that needs to have its native language subtracted and a replacement added.</p>\n"}, {'answer_id': 66366, 'author': 'Crusty', 'author_id': 9810, 'author_profile': 'https://Stackoverflow.com/users/9810', 'pm_score': 1, 'selected': False, 'text': '<p>You <strong>definitely</strong> need to be using the .NET ResourceManager and the resx file xml format, however there are a number of approaches to using this.</p>\n\n<p>It really depends on what you are wanting to achieve. For me I wanted a single xml resource file (for each supported language) that could be modified by anyone. I created a helper class that loaded the global resource file into ResourceManager (once only) and I had a helper function that gives me the required resource for a given name. The only disadvantage in this approach was that I could not leverage dynamic binding of resources to properties.</p>\n\n<p>I found this better and easier to manage than multiple or embedded resource files for every form. Additionally exactly the same approach can used in an ASP.NET application. I also found this approach means that outsourcing translation of resources and shipping language packs to customers much more manageable. </p>\n'}, {'answer_id': 67596, 'author': 'Mike Dimmick', 'author_id': 6970, 'author_profile': 'https://Stackoverflow.com/users/6970', 'pm_score': 1, 'selected': False, 'text': '<p>Microsoft\'s recommended approach is to use satellite assemblies, as described in <a href="http://msdn.microsoft.com/en-us/library/sb6a8618.aspx" rel="nofollow noreferrer">Packaging and Deploying Resources</a>. If you\'re using a ResourceManager to load resources, .NET will load the correct resources for the CurrentUICulture. This defaults to the user\'s current UI language setting in Windows.</p>\n\n<p>It is possible to localize Windows Forms either through Visual Studio or an external tool, WinRes.exe. <a href="http://msdn.microsoft.com/en-us/library/8bxdx003.aspx" rel="nofollow noreferrer">This article</a> describes WinRes and how to use Visual Studio to localize the form.</p>\n'}]
['https://Stackoverflow.com/questions/66012', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2166173/']