How to: Create a Localized Version of a Resource File
If you localize your project, you will want to create localized versions of the project resource file. For example, strings are the most common type of resource to be localized. The localized files are not displayed in the Resource Designer, but you can create and view them in Solution Explorer.
To create a localized resource file
Create a resource file named Resources.resx. In Visual Basic, for the default .resx file, you need to click the Show All Files button in order to view and access the .resx file.
In Solution Explorer, right-click the project, point to Add, and then click New Item.
In the Add New Item dialog box, select Resources File and name the file Resources.de-DE.resx. The file name indicates the language, German, and the country, Germany. For more information about culture names and identifiers, see CultureInfo.
Resources.de-DE.resx will appear in Solution Explorer, and a Resource Designer for the file will appear.
Open the Resource Designer. On the Project menu, click Properties. In the Project Designer, click the Resources tab.
In the Resource Designer, add a string in German. For example, you can use the first line of Goethe's "Wanderers Nachtlied":
Über allen Gipfeln ist Ruh.
("Over all the peaks is silence")
On the Build menu, click Build Solution.
Visual Studio will automatically create satellite assemblies for each language you specify in this manner. The assembly ProjectName.resources.dll is created in ProjectName\bin\Release\de-DE. Additional satellite assemblies will be created in appropriate locale directories under ProjectName\bin\Release. You need to deploy the assembly files for the localized version of the application to work.
Important
In some cases, Visual Studio will create the localized resource files in a different location in the project structure than the original resource files. For example, the localized resource files for a Windows Forms application that was written in Visual C# are created in the root of the project directory, rather than in the Properties subfolder. You must manually move the resource files so that all the resource files reside in the same location.
See Also
Reference
ToolTask(ResourceManager)