Share via


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:

To localize information about an out-of-browser application

  1. 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.

  2. 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).

  3. In the Solution Explorer, right-click the project name, and then click Unload Project to close the project while leaving the project icon visible.

  4. In the Solution Explorer, right-click the project name, and then click Edit.

    The project file opens in the Visual Studio XML Editor.

  5. 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.)

  6. Below the <PropertyGroup> section, add the following:

    <OutOfBrowserSettingsFile>Properties\OutOfBrowserSettings.culture-code.xml</OutOfBrowserSettingsFile>
    

    where culture-code is the name of a culture that your application supports.

  7. In the Solution Explorer, right-click the project name, and then click Reload Project.

  8. 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.