To generate the resource files automatically, follow these steps:
In Solution Explorer, double-click the Default.aspx file.
Note The Default.aspx file opens in Design view.
On the Tools menu, click
Generate Local Resources.
Note By default, a new folder that is named App_LocalResources is created. Additionally, a resource file that is named Default.aspx.resx is created. This file contains information about each
Label control on the page. The values in the resource file match the values that you entered for each
Label control in Design view.
In Solution Explorer, right-click the Default.aspx.resx file, and then click
Copy.
In Solution Explorer, right-click the App_LocalResources folder, and then click
Paste.
In Solution Explorer, right-click the Copy of Default.aspx.resx file, and then click
Rename.
Type Default.aspx.es-mx.resx, and then press ENTER.
Bruce Song
0 Points
2 Posts
How to make the resources file to be located under the cs code file in vs 2008 sp1
May 11, 2012 04:07 PM|LINK
Hi Experts,
Does anyone know how to make the resource files under the Default.aspx.cs file in vs 2008 sp1? For example:
Any help or suggestion will be appreciate.
Thanks,
Bruce
Bruce Song
0 Points
2 Posts
Re: How to make the resources file to be located under the cs code file in vs 2008 sp1
May 16, 2012 01:21 PM|LINK
Anyone who can give some ideas about this problem? Thanks.
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: How to make the resources file to be located under the cs code file in vs 2008 sp1
May 18, 2012 10:08 AM|LINK
HI
To generate the resource files automatically, follow these steps:
Note The Default.aspx file opens in Design view.
Note By default, a new folder that is named App_LocalResources is created. Additionally, a resource file that is named Default.aspx.resx is created. This file contains information about each Label control on the page. The values in the resource file match the values that you entered for each Label control in Design view.
For more details please read:
http://support.microsoft.com/kb/917414
Hope it helpful.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework