ReSharper 2019.3 Help

Localization Manager

ReSharper | Windows | Localization Manager
ReSharper_ShowResxEditorToolWindow

Localization Manager will assist you in localizing applications. It lets you view and edit localizable resources in a single grid, helping you add/edit/rename localizable strings and spot missing localized values.

ReSharper: Localization Manager window

Open Localization Manager

  • Choose ReSharper | Windows | Localization Manager from the main menu.

  • Right-click a resource file in the Solution Explorer and choose Show Localization Manager.

  • Set the caret at the resource declaration or usage in the editor, press Alt+Enter and choose Edit with Localization Manager.

    ReSharper: Edit with localization manager

Choose target resource bundles

Localization Manager scans all resource files (.resx) in your solution, groups them by the resource bundle and displays them on the left-hand side of the window.

Use checkboxes in the left-hand side view to choose bundles that should be added to the working grid. The Group by selector on the toolbar will help you regroup the bundles so that you can select entire grouping nodes, such as projects or solution folders.

%product: Localization manager. choose resources

Understand working grid

Rows of the working grid list all resources from the bundles selected on the left. Resources are combined and sorted alphabetically.

Columns of the working grid list all cultures found in the selected bundles. For example, if one of the selected bundles has culture-specific files for de and es, and another has de and fr, then columns for de, es, and fr will be added.

To hide some cultures from the working grid, click Choose Cultures Choose Cultures on the toolbar and use the dialog that appears to specify the desired cultures.

Each resource in specific culture is color-coded:

  • Grey with text — resource has a culture-specific value

  • Yellow with text — resource has a culture-specific value that is the same as in the default culture

  • Yellow empty — resource has no culture-specific value

If you want to see only those resources, where culture-specific values are missing, toggle Show Only Problems Show Only Problems on the toolbar.

Add new resources

In the Localization Manager, you can add new resources by clicking Add New Add New above the working grid. In the dialog that opens, specify a name for the resource and choose the resource bundle where it should be added.

ReSharper: Add new resource dialog

If the target resource bundle is selected on the left, the new resource will appear in the grid and you can proceed with specifying resource values in different cultures.

Add cultures

You can add a new culture-specific files to all resource bundles in your solution — click Add New Culture Add New Culture above the tree view in the left part, and then specify a culture tag in the dialog that opens.

You can also add culture-specific files that are missing in some bundles. Such files are displayed as strikethrough in the tree view on the left.

Last modified: 13 February 2020