Localizing SharePoint Page

The article demonstrates how to localize an ASP.NET page hosted in SharePoint. You are supposed to deploy the .resx files in C:\Inetpub\wwwroot\wss\VirtualDirectories\{Port Number}\App_GlobalResources.

File Structure
ProjectName


 * Resources


 * MyProject.resx


 * MyProject.bg.resx

Code within the .aspx page
The 'keys' are key part of the key/value pairs in your .resx files.

Example 1
" />

Example 2
" OnClick="btnMyButton_Click" />

Example 3
 " /> " /> " /> 