diff --git a/src/assets/screenshots/enterprise/project-management/settings/qa_checks_settings.png b/src/assets/screenshots/enterprise/project-management/settings/qa_checks_settings.png deleted file mode 100644 index 3d49a8e5..00000000 Binary files a/src/assets/screenshots/enterprise/project-management/settings/qa_checks_settings.png and /dev/null differ diff --git a/src/content/docs/de/enterprise/project-management/project-settings/qa-checks.mdx b/src/content/docs/de/enterprise/project-management/project-settings/qa-checks.mdx index f7637650..57c26f55 100644 --- a/src/content/docs/de/enterprise/project-management/project-settings/qa-checks.mdx +++ b/src/content/docs/de/enterprise/project-management/project-settings/qa-checks.mdx @@ -13,7 +13,6 @@ import { Image } from 'astro:assets'; import ReadMore from '~/components/ReadMore.astro'; import Include from '~/components/Include.astro'; import qaChecksInEditor from '!/crowdin/project-management/settings/qa_checks_in_editor.png'; -import qaChecksSettings from '!/enterprise/project-management/settings/qa_checks_settings.png'; import qaChecksAddToIgnoreList from '!/crowdin/project-management/settings/qa_checks_add_to_ignore_list.png'; Die Qualitätssicherungsprüfungen (QA) durchsuchen Übersetzungen nach sprachspezifischen Formatierungsfehlern, die nicht mit der Quellzeichenfolge übereinstimmen oder möglicherweise nicht in die Benutzeroberfläche passen. Typische Probleme sind fehlende Kommas, zusätzliche Leerzeichen und Tippfehler. @@ -42,8 +41,6 @@ QA-Prüfungen sind standardmäßig aktiviert. Führe die folgenden Schritte aus, **Fehler**: Übersetzer sehen das QA-Problem zusammen mit Vorschlägen zur Behebung und können die Übersetzung erst speichern, nachdem sie das Problem behoben haben. -Einstellungen für QA-Prüfungen - Für einige Prüfungen gelten feste Einstellungen: * **Duplikat**, **FTL-Markup-Syntaxprüfung** und **MDX-Markup-Syntaxprüfung** sind immer aktiviert und werden stets als **Fehler** behandelt. diff --git a/src/content/docs/enterprise/online-editor/overview.mdx b/src/content/docs/enterprise/online-editor/overview.mdx index 745db3ee..b182093b 100644 --- a/src/content/docs/enterprise/online-editor/overview.mdx +++ b/src/content/docs/enterprise/online-editor/overview.mdx @@ -268,7 +268,8 @@ Available filter options: * *Not Approved* – Show strings that are already translated but not yet approved by a proofreader. * *Approved* – Show only strings with approved translations. * *Unsaved Translations* – Show strings with translations you entered but haven't saved yet. -* *QA issues* – Show strings with or without unresolved QA issues in the current language, with the possibility to filter by specific errors. +* *Translation QA issues* – Show strings with or without unresolved QA issues in the current language, with the possibility to filter by specific errors. +* *Source QA issues* – Show strings with or without QA issues in the source string, with the possibility to filter by specific checks. This option is only available if at least one [source string check](/enterprise/project-settings/qa-checks/#source-string-checks) is enabled. * *Auto-Translated* – Show strings whose final translation (the one at the top of the translation list) was auto-translated. Select *All* or narrow the results to *TM*, *MT*, or *AI*. * *With Comments* – Show strings that have comments. * *With Unresolved Issues* – Show strings with unresolved issues in the current language or all languages. @@ -350,6 +351,8 @@ If QA issues are detected when you manually save a translation or when Auto-save In the translation field, the Editor outlines the text the issues refer to. Hover over an issue in the banner to outline only that issue. +If a QA check couldn't run on a translation, for example, because the AI balance ran out or the app that runs the check is no longer installed, the Editor shows that a check didn't run and, when it's known, which check and why. Project members with manager permissions (or higher) can run the checks again with [**Revalidate**](/enterprise/project-settings/qa-checks/#revalidate-qa-checks). + #### Auto-fixing QA Issues For many common errors, the inline QA banner provides automatic quick-fixes: @@ -369,6 +372,16 @@ Once a translation reaches the number of approvals set in [**Consider as fixed** In Comfortable mode, the **QA Issues (Approved)** section also appears without the filter while the left panel is switched to **Preview** or the [WYSIWYG file preview](#wysiwyg-file-preview) is in **Full Screen** or **Dual Preview** mode. +#### QA Issues in Source Strings + +When [source string checks](/enterprise/project-settings/qa-checks/#source-string-checks) are enabled, the Editor shows the QA issues of a source string in every target language: + +* **Side-by-Side and Multilingual modes**: Under the source string in the string list. +* **Comfortable mode**: In the **QA Issues** section, under **Source**. The issues of the translation appear under **Translation**. +* **Multilingual (Grid) mode**: A **QA** marker in the source cell. Click the marker to see the issues in the right panel. With no target languages selected, hover over the marker instead. + +Source string issues never block saving a translation. To list the strings with such issues, use the **Source QA issues** filter. If a check couldn't run on a source string, the Editor shows this in the same place. + ### Managing Source Strings Project members with manager permissions (or higher) can manage source strings directly within the Editor, allowing for quick corrections and updates without needing to switch to the project's **Sources** tab. @@ -748,7 +761,7 @@ This behavior applies to the following filter options: * Untranslated * Not Approved * Approved -* QA issues +* Translation QA issues * Auto-Translated * Advanced Filter > Translations > Translations Updated * Advanced Filter > Strings > Translation Status > Partially Translated (Plurals) @@ -1105,8 +1118,9 @@ Filter by the properties of the source strings: * **Translation Status**: Filter by translation status. Options include *Untranslated*, *Partially Translated (Plurals)*, and *Translated*. * **Approval Status**: Filter strings by their approval status. Options include *Translated, Not Approved*, *Partially Approved (Plurals)*, and *Approved*. * **Approvals Count**: Filter strings by the number of approvals they received. Options are *Greater Than* or *Less Than* a specified number. -* **QA Issues**: Filter strings based on quality assurance issues. Options include *Without QA Checks*, *QA check in progress*, *All* issues, or a specific check (for example, *Tags mismatch*, *Spelling mistakes*, *Punctuation mismatch*). -* [**QA Issues (Approved)**](#qa-issues-in-approved-translations): Filter strings based on the QA issues of their approved translation. The options are the same as in **QA Issues**. +* **Translation QA Issues**: Filter strings based on the QA issues of their translation. Options include *Without QA Checks*, *QA check in progress*, *QA check incomplete*, *All* issues, or a specific check (for example, *Tags mismatch*, *Spelling mistakes*, *Punctuation mismatch*). +* [**QA Issues (Approved)**](#qa-issues-in-approved-translations): Filter strings based on the QA issues of their approved translation. The options are the same as in **Translation QA Issues**. +* **Source QA Issues**: Filter strings based on the QA issues of their source string. Options include *Without QA issues*, *QA check in progress*, *QA check incomplete*, *All* issues, or a specific source string check. * **Comments**: Filter strings by comments or issues. Options include *Do Not Have Comments*, *Have Comments*, *Unresolved Issues*, *General Question Issues*, *Current Translation Is Wrong Issues*, *Lack of Contextual Information Issues*, or *Mistake in Source String Issues*. * **Screenshots**: Filter strings that are *With Screenshots* or *Without Screenshots*. * **Visibility**: Filter strings by whether translators can see them. Options are *Visible* or *Hidden*. diff --git a/src/content/docs/enterprise/project-management/project-settings/qa-checks.mdx b/src/content/docs/enterprise/project-management/project-settings/qa-checks.mdx index d699fc1b..7ca22d11 100644 --- a/src/content/docs/enterprise/project-management/project-settings/qa-checks.mdx +++ b/src/content/docs/enterprise/project-management/project-settings/qa-checks.mdx @@ -1,6 +1,6 @@ --- title: Quality Assurance Settings -description: Configure QA checks to ensure the quality of translations +description: Configure QA checks to ensure the quality of source strings and translations slug: enterprise/project-settings/qa-checks sidebar: order: 10 @@ -13,12 +13,11 @@ import { Image } from 'astro:assets'; import ReadMore from '~/components/ReadMore.astro'; import Include from '~/components/Include.astro'; import qaChecksInEditor from '!/crowdin/project-management/settings/qa_checks_in_editor.png'; -import qaChecksSettings from '!/enterprise/project-management/settings/qa_checks_settings.png'; import qaChecksAddToIgnoreList from '!/crowdin/project-management/settings/qa_checks_add_to_ignore_list.png'; -Quality assurance (QA) checks scan translations for language-specific formatting that doesn't match the source string or won't fit the UI. Typical issues are missed commas, extra spaces, and typos. +Quality assurance (QA) checks scan translations for language-specific formatting that doesn't match the source string or won't fit the UI. Typical issues are missed commas, extra spaces, and typos. QA checks also scan source strings, so you can fix a problem in the source once instead of in every target language. -Crowdin Enterprise highlights the issues it finds on the Proofread workflow step, so review and resolve them before you build the project and download translations. +Crowdin Enterprise highlights the issues it finds in the Editor, so review and resolve them before you build the project and download translations. QA Checks in Editor @@ -26,23 +25,23 @@ Crowdin Enterprise highlights the issues it finds on the Proofread workflow step QA issue indicators may vary depending on the active [Editor mode and layout](/enterprise/online-editor/#editor-modes). -In the **Quality Assurance** section, you choose which types of QA issues Crowdin Enterprise highlights during translation. +In the **Quality assurance** section, you choose which QA checks Crowdin Enterprise runs on source strings and translations. The checks are grouped into **Source strings** and **Translations**. To find a check, use the search box or the list of sections on the right. ## Configure QA Checks -By default, QA checks are enabled. To select the needed QA checks in your project, follow these steps: +By default, QA checks are enabled. To configure the QA checks in your project, follow these steps: 1. Open your project and go to **Settings > Quality assurance**. - 2. Select the QA check types according to your preferences. - 3. For each selected QA check type, select **Warning** or **Error** under **Save translations**. + 2. Ensure that **QA checks** is enabled. + 3. In the **Severity** column, select the severity for the QA checks you want to change: + * **Warning**: Translators see the QA issue along with suggestions for fixes and can still save the translation anyway when the flagged difference is intentional, for example, a punctuation style that the target language requires. + * **Error**: Translators see the QA issue along with suggestions for fixes and can save the translation only after resolving it. + * **Off**: The check doesn't run. + 4. Click **Save**. -**Warning**: Translators see the QA issue along with suggestions for fixes and can still save the translation anyway when the flagged difference is intentional, for example, a punctuation style that the target language requires. - -**Error**: Translators see the QA issue along with suggestions for fixes and can save the translation only after resolving it. - -QA Checks Settings +Changes to **QA checks** and **Consider as fixed** are saved right away. A few checks come with a fixed setting: @@ -50,11 +49,12 @@ A few checks come with a fixed setting: * **ICU Markup syntax check** is always enabled, and you choose whether it's applied as an **Error** or a **Warning**. * **Spelling mistakes**, **AI-powered check**, and **Outdated translation** are always applied as a **Warning**, and you choose whether they're enabled. * Custom QA checks are always applied as a **Warning**. -* External QA checks are applied as a **Warning**, unless the app that adds the check supports the **Error** option. For such a check, you choose whether it's applied as an **Error** or a **Warning**. +* External QA checks of translations are applied as a **Warning**, unless the app checks translations while they're being saved (such a check is marked **While saving**). For such a check, you choose whether it's applied as an **Error** or a **Warning**. +* Source string checks, including the checks under **Custom source string checks**, are always applied as a **Warning**, and you choose whether they're enabled. Use the **Consider as fixed** option to define how many approvals a translation must have before its QA issues are automatically treated as resolved. When a translation reaches the specified number of approvals, the Editor no longer highlights its QA issues. To review them, use the [**QA Issues (Approved)**](/enterprise/online-editor/#qa-issues-in-approved-translations) filter in the Editor. -Enabled checks run in the background and scan the translations for potential QA issues. +Enabled checks run in the background and scan source strings and translations for potential QA issues. + 1. Open your project and go to **Settings > Quality assurance**. + 2. Under **Revalidate QA checks**, click **Revalidate**. + 3. In the **Revalidate QA checks?** dialog, in **Checks**, select the checks to re-run: + * **Built-in checks**: Source string checks, translation checks, and pair checks. + * **AI-powered check of source strings**: The AI-powered check under **Custom source string checks**. + * **AI-powered check of translations**: The AI-powered check under **Custom translation checks**. + * **Custom checks**: JavaScript checks of the organization. + * **External checks**: Checks from apps. + 4. In **QA status**, select the QA statuses of the strings to re-run the checks on: + * **Issues found**: A check found issues in these strings. + * **Passed**: Every check ran on these strings and found nothing. + * **Check incomplete**: A check couldn't run, for example, because the AI balance ran out or a request failed. + * **Not checked**: A check hasn't run on these strings yet, for example, right after it was enabled. + 5. Click **Revalidate**. + + +The dialog shows how many strings will be re-checked. Translations that reached the **Consider as fixed** number of approvals aren't re-checked and keep the QA issues found at their last check. External QA checks also run on all project translations automatically when you enable them. -Once revalidation starts, the button is disabled and a **Cancel** button appears. Crowdin Enterprise shows a notification when the process is complete. +Once revalidation starts, its progress and a **Cancel** button appear in the **Revalidate QA checks** section. Crowdin Enterprise shows a notification when the process is complete. If a check couldn't run on some strings, the number of strings with the **Check incomplete** status appears in the same section. + +## Source String Checks + +Source string checks find problems in the source text that would carry over to every target language, so you can fix them once in the source. The Editor shows the issues they find next to the source string in every language. Source string checks, built-in and custom, never block saving a translation, so their severity is **Warning** or **Off**. + +In new projects, the built-in source string checks are enabled by default. Source string checks skip hidden strings. + +The following checks are available under **Source string checks**: + +**ICU syntax**: The source string breaks the ICU message syntax. The check also reads strings that aren't marked as ICU but use `plural`, `select`, or `selectordinal`. + +**Android syntax**: The source string has Android string resource syntax errors, such as a placeholder from another platform. + +**FTL syntax**: The source string breaks the Fluent (FTL) syntax. + +**MDX syntax**: The source string breaks the MDX syntax. + + + +**HTML / XML markup**: The source string has tags that can't be parsed or have no pair. + +**Length limit**: The source string is already longer than the character limit set for the string, which also applies to every translation. + +**Spacing, punctuation and spelling**: The source string has an extra or missing space around a punctuation mark, several spaces in a row, an unpaired bracket, or a word the spell checker doesn't recognize. Words from the project's glossary and [Ignore list](#spell-checker-ignore-list) count as known words, and spelling is checked for the same languages as **Spelling mistakes**. + +**Non-positional placeholders**: The source string has two or more placeholders without names or numbers, such as `%s` and `%d`, so a translation can't change their order. Numbered (`%1$d`) and named (`{total}`) placeholders pass the check. + +**Count without plural forms**: A number goes into the text of a string without plural forms, such as `{count} files`, so the text is right only for some numbers. The check also flags one word written for one and many, such as `file(s)`. It reads English source strings, and strings with plural forms (ICU, Android plurals, stringsdict, gettext) pass it. + +**Open reports on the source**: The string has an unresolved [issue](/enterprise/issues/) of the **Mistake in the source string** or **Lack of contextual information** type. + +### Custom Source String Checks + +Under **Custom source string checks**, you enable the checks that run once per source string for all target languages: the AI-powered check, and the [custom QA checks](/enterprise/custom-qa-checks/#custom-qa-checks) and [external QA checks](/enterprise/custom-qa-checks/#external-qa-checks) that run on source strings. + +**AI-powered check**: Checks source strings against the evaluation steps of a prompt of the **Source QA check** type. Next to the check, select the prompt or keep the organization's default prompt from the [AI settings](/enterprise/crowdin-ai/#ai-settings-for-the-organization). The check runs on new and changed source strings. To check the existing ones, [revalidate](#revalidate-qa-checks) them. The check generates additional AI costs, which grow with the number of source strings. ## QA Check Parameters +The checks of translations are grouped into **Translation checks** (syntax, spelling, and duplicates of the translation) and **Pair checks** (differences between the translation and its source string). **Custom translation checks** holds the AI-powered check of translations, custom QA checks, and external QA checks. + **Omissions**: The translation is empty while the source string isn't, or the source string is empty while the translation isn't. - Source is empty but the translation is not @@ -126,6 +187,7 @@ Once revalidation starts, the button is disabled and a **Cancel** button appears - Bracket consistency - Markup language entities - Quotes and quote escapes +- Invisible control characters **Open translation issues by project members**: The translation has an open issue that a project member reported with the **Current translation is wrong** type, shown on the Proofread workflow step. @@ -152,9 +214,9 @@ Once revalidation starts, the button is disabled and a **Cancel** button appears **Android Markup syntax check**: The translation doesn't keep the placeholder tags (``) that the source string uses. -**Numbers mismatch**: The numbers in the translation don't match the ones in the source string or are missing from it. For many languages with their own digits, the check reads those digits and how the language groups them: for example, १२ in a Hindi translation matches 12 in the source string. +**Numbers Mismatch**: The numbers in the translation don't match the ones in the source string or are missing from it. For many languages with their own digits, the check reads those digits and how the language groups them: for example, १२ in a Hindi translation matches 12 in the source string. -**AI-powered check**: The translation doesn't meet the evaluation criteria defined in your AI prompt. Configure the prompt before you enable the check. +**AI-powered check**: The translation doesn't meet the evaluation criteria defined in your AI prompt. Next to the check, select a prompt of the **Translation QA check** type or keep the organization's default prompt. Read more about [Configuring AI-powered check](/enterprise/crowdin-ai/#setting-up-ai-qa-check). @@ -178,9 +240,9 @@ If a [custom spellchecker](/enterprise/organization-settings/#spellcheckers) is ### Spell Checker Ignore List -If your project uses uncommon words that the spell checker doesn't recognize, add them to the Ignore list to exclude them from the check. +If your project uses uncommon words that the spell checker doesn't recognize, add them to the Ignore list to exclude them from the check. To ignore a word flagged in a source string, open the Editor and click the word in the source string's QA issue. -This suits project-specific terminology such as brand names or proper nouns (for example, `MyApp`). The spell checker and the Glossary are separate features, so adding a term to the Glossary doesn't add it to the Ignore list, and the Ignore list is where you exempt it. +This suits project-specific terminology such as brand names or proper nouns (for example, `MyApp`). In translations, the spell checker and the Glossary are separate features, so adding a term to the Glossary doesn't add it to the Ignore list, and the Ignore list is where you exempt it. In source strings, the words of glossary terms count as known words. QA Checks Add to Ignore list @@ -206,7 +268,7 @@ Clicking the button opens a panel with the following details: - The total number of unresolved QA issues. - The change delta in the format `+N/-N/+N`. Hover over it to see the breakdown: how many issues were created, resolved, and are in progress. - **Open in Editor**: Opens the Editor filtered to strings with QA issues. -- : Links directly to [**Settings > Quality Assurance**](#configure-qa-checks). +- : Links directly to [**Settings > Quality assurance**](#configure-qa-checks). ### Per-Language Indicators diff --git a/src/content/docs/zh/enterprise/project-management/project-settings/qa-checks.mdx b/src/content/docs/zh/enterprise/project-management/project-settings/qa-checks.mdx index 1a5d66b9..45d20b60 100644 --- a/src/content/docs/zh/enterprise/project-management/project-settings/qa-checks.mdx +++ b/src/content/docs/zh/enterprise/project-management/project-settings/qa-checks.mdx @@ -13,7 +13,6 @@ import { Image } from 'astro:assets'; import ReadMore from '~/components/ReadMore.astro'; import Include from '~/components/Include.astro'; import qaChecksInEditor from '!/crowdin/project-management/settings/qa_checks_in_editor.png'; -import qaChecksSettings from '!/enterprise/project-management/settings/qa_checks_settings.png'; import qaChecksAddToIgnoreList from '!/crowdin/project-management/settings/qa_checks_add_to_ignore_list.png'; 品质保证检查会扫描译文,查找与源字符串不匹配或无法适应 UI 的语言特定格式问题。典型问题包括遗漏逗号、多余空格和拼写错误。 @@ -42,8 +41,6 @@ Crowdin Enterprise 会在校对流程步骤上突出显示它发现的问题, **错误**:译者会看到品质保证问题以及修复建议,并且只有在解决后才能保存译文。 -品质保证检查设置 - 一些检查具有固定设置: * **重复**、**FTL 标记语法检查**和 **MDX 标记语法检查**始终启用,并且始终应用为**错误**。