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 Designer stores UI forms in special UI files (.ui). Qt Linguist attempts to show the translations in the forms.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.