Selecting context or label to translate | Qt Linguist Manual

- Qt 6.10
- Qt Linguist Manual
- Translators
- Selecting context or label to translate
- Qt 6.10.3 Reference Documentation

Translating strings ◦ Selecting strings to translate

# Selecting context or label to translate

The Context/Label view lists the contexts (Text based) or labels (ID based) in which strings to be translated appear. The text-based translations are grouped into contexts, while ID-based translations are grouped into labels (see Grouping ID-Based Translations). The Context/Label lists the groups (that is, context or labels) based on the selected tab:

- Upon switching to the Text-Based tab, Context lists the context names in alphabetical order. Each context is the name of a QML type or a subclass of QObject.
- Upon switching to the ID-Based tab, Label lists the label names in alphabetical order. More info on labels can be found in Grouping ID-Based Translations.

The following icons indicate the current translation state for each group:

State | Icon | Description
--- | --- | ---
Accepted/Correct |  | All strings in the group have been translated, and all the translations passed the validation tests.
Accepted/Warnings |  | All strings in the group have been translated or marked as translated, but at least one translation failed the validation tests. In the Strings view, you can see which string failed the test.
Not Accepted |  | At least one string in the group has not been translated or is not marked as translated.
Obsolete |  | None of the translated strings appears in the group any more. This usually means the context or label no longer exists in the application.

The Items column displays the total number of translatable strings in the group and the number of translated strings, separated by a slash (/). If the numbers are equal, all the translatable strings in the group have translations.

Translating strings ◦ Selecting strings to translate