generalinformation-404609-localization-ui-localization-client.md
The UI Localization Client is a cross-platform utility that allows you to quickly identify non-translated strings of DevExpress UI controls and translate them during a debug session. The utility automatically generates required RESX files with translated resources and adds them to the project.
Important
We released a new powerful localization utility - the Localization Tool. UI Localization Client integration in Visual Studio will be deprecated as redundant. We encourage you to try out the new Localization Tool and share your feedback with us.
In your project, call the XtraLocalizer.EnableTraceSource method at application startup to allow the UI Localization Client to attach to the application (during a debug session).
Start the project (run the application).
Run the UI Localization Client. In Visual Studio, go to:
The following screenshot displays the UI Localization Client attached to the WinForms application.
The UI Localization Client loads resource strings when they appear in the UI. Follow the steps below to translate resources:
Interact with the UI (for example, open a menu, show a dialog or detail form) to load available resource strings.
Translate all non-translated resources or only specific strings.
Click the Save button to save translated resources.
Stop the debug session.
Rebuild the project. The UI Localization Client generates localized resources and adds them to the project:
Tip
There is no need to re-run the UI Localization Client. The utility will automatically attach to your project the next time you start it.
The UI Localization Client includes the following UI elements:
Data Grid – Displays loaded resources. The Invariant String column displays culture-independent strings. The next column displays translated resource strings. The Resource ID column displays resource identifiers.
Search & Filter – Allows you to quickly find a specific condition.
Resource Quick Filters – Allow you to apply predefined filters:
Non-translated – Shows/hides resource strings that require translation in your application.Modified – Resource strings that have been modified but not saved.Translated – Translated (and saved) resource strings.Save Button – Saves modified resource strings.
Cancel Button – Cancels changes (warns if there are unsaved translated strings and prompts to save changes).
After you have identified and translated non-localized resource strings, you should disconnect the UI Localization Client from the project and activate the Resource Manager. Do the following:
The UI Localization Client cannot be used with the following DevExpress products:
Solution :
Solution :
Solution : Start the attached project.
Solution : Modify resource filters or search.