Adding a default file for language resources, Part 3
In my previous article I described how to localize the Silverlight client screen (http://www.c-sharpcorner.com/UploadFile/18ddf7/how-to-localize-a-silverlight-client-screenpart-2/).
In this article I describe how to add a default file for language resources.
Procedure for localizing the client screen
Step 1
Open the Solution Explorer.
Step 2
In the Solution Explorer, choose the Toggle View and switch to Toggle View.
Step 3
The Solution Explorer appears as shown.
Step 4
Right-click on the Application1.DesktopClient, choose the Add option.
Step 5
After choosing the Add option choose "New item".
Step 6
The Add New Item-Application1.DesktopClient appears.
Step 7
In the Add New Item, Choose the resources file option and then name it "Client.resx".
For a Silverlight client of a LightSwitch application, we must always name the default file for language resources "Client.resx", and the file must be in the root node of the client project.
Step 8
Add the following values to the resource file:
The values in the Name column match the resource identifiers but the values don't have the $() notation. The values in the Value column are the strings that will appear when a user runs the application.