Viewing strings in context | Qt Linguist Manual

- Qt 6.11
- Qt Linguist Manual
- Translators
- Viewing strings in context
- Qt 6.11.2 Reference Documentation

Selecting strings to translate ◦ Reusing translations

# Viewing strings in context

If Qt Linguist can access the source files containing the translatable strings, the Sources and Forms view shows the source context of the current string in the Strings view. It highlights the source code line that contains the current string. If Qt Linguist cannot find the source file, it shows the expected absolute file path.

If the source context shows the wrong source line, the translation file might be out of sync with the source files. For more information about how to sync the files, see Using lupdate.

Qt Widgets Designer stores UI forms in special UI files (.ui). Qt Linguist attempts to show the translations in the forms.

Selecting strings to translate ◦ Reusing translations