Localization: Localize Safety-Critical Content
The Localization example demonstrates how you can localize content in safety-critical elements.
For localization support, you need to define
TRANSLATIONS variables in the project file as instructed in Enabling Localization.
Qt Safe Renderer generates separate layout data files for each locale. See an example of the generated data under <Qt installation directory>/Examples/QtSafeRenderer-<version>/saferenderer/localization/layoutData/SafeUI.
The following topics provide more information about localization in Qt:
Building and Running Localization
The example can be built for the host platform, QNX, and INTEGRITY.
On the host platform, you can build and run Localization with the following steps:
- Select Build > Run QMake.
- Select Build > Build Project <a project name>.
To run the project, select Build > Run.
Available under certain Qt licenses.
Find out more.