- Qt 6.8
- Qt Linguist Manual
- Translators
- Viewing strings in context
- Qt 6.8.3 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.