How to: Localize Information About an Out-of-Browser Application
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This topic provides step-by-step instructions for customizing the window settings of your localized out-of-browser application. It assumes that you have already completed the following steps:
Created the necessary resource files. (For more information, see How to: Add Resources to a Silverlight-based Application.)
Configured your Silverlight-based application as an out-of-browser application by checking the Enable running application out of the browser box in the application's Properties dialog box.
Created a build configuration for each culture that your application supports. (For more information, see How to: Create a Build that Targets a Specific Culture.)
To localize information about an out-of-browser application
In the project's Properties dialog box, click the Out-of-Browser Settings button, and enter the information for your application's default culture. Be sure to specify the file names of any icons that you might want to include for your application.
In the Solution Explorer, expand the Properties folder (in C#) or the My Project folder (in Visual Basic) and find the OutOfBrowserSettings.xml configuration file. Make a copy of that file, and rename the copy to OutOfBrowserSettings.culture-code.xml, where culture-code is the name of a culture that your application supports (for example, OutOfBrowserSettings.fr-FR.xml for the French (France) culture).
In the Solution Explorer, right-click the project name, and then click Unload Project to close the project while leaving the project icon visible.
In the Solution Explorer, right-click the project name, and then click Edit.
The project file opens in the Visual Studio XML Editor.
In the project file, locate the <PropertyGroup> section that corresponds to your localized build configuration. (There is one build configuration per culture; see the "Deploying a Targeted Localized Application" section of Localizing Silverlight-based Applications for more information.)
Below the <PropertyGroup> section, add the following:
where culture-code is the name of a culture that your application supports.
In the Solution Explorer, right-click the project name, and then click Reload Project.
Open OutOfBrowserSettings.culture-code.xml and modify the following for the desired culture:
ShortName attribute of the <OutOfBrowserSettings> tag, which provides the shortcut name for the application.
<OutOfBrowserSettings.Blurb> content, which provides the application description that appears as a ToolTip on the installed application shortcuts.
Title attribute of the <WindowSettings> tag, which provides the window title.
File names of icons listed in the <OutOfBrowserSettings.Icons> section, for icons to display in the installation dialog box, Windows Explorer, taskbar, and so on.
For more information about these customizable components, see How to: Configure an Application for Out-of-Browser Support.