VSTO 2005 have default resource file in MyProject folder. If you right click the project in VSTO 2005 and choose properties, you will see project properties window. In the properties window, there is a tab called Resources. You can add default resources, such as images, strings and icons.
For the string of different culture, you have to add new resource file into the project. The resource file name follows the format of Resources.language-culture.resx. For example, the resource file for Canadian French is Resources.fr-CA.resx.
You add the new resource file by right click the project and choose Add -> New Item.... In the Add New Item dialog, choose Resources File. In the file name box, enter the proper file name as described above, then click OK. You can then add culture specific resources into the newly created resource file.
For the string of different culture, you have to add new resource file into the project. The resource file name follows the format of Resources.language-culture.resx. For example, the resource file for Canadian French is Resources.fr-CA.resx.
You add the new resource file by right click the project and choose Add -> New Item.... In the Add New Item dialog, choose Resources File. In the file name box, enter the proper file name as described above, then click OK. You can then add culture specific resources into the newly created resource file.
Comments