Процеси перекладу

Використання Weblate підвищує якість, зменшує обсяг роботи вручну і зближує учасників процесу локалізації. Вам вирішувати, якими з можливостей Weblate ви скористаєтеся.

Нижче наведено неповний список способів налаштувати Weblate. Ви можете побудувати інші робочі процедури на основі типових прикладів з наведеного списку.

Налаштовування робочого процесу

На додаток до налаштувань у Налаштування проєкту і Налаштовування складників (таких як Увімкнути рецензії, Пропонувати переклад, Голосування за пропозицію і Автоматичне прийняття пропозицій), робочий процес перекладу можна налаштовувати для кожної окремої мови.

Налаштування робочого процесу для всього сайту можна виконати під час процесу Зміна визначень мов.

Підлаштування для кожного проєкту можна зробити на кожній мовній сторінці проєкту.

Review and suggestion settings can be overridden, the only limitation is that Увімкнути рецензії needs to be turned on and can only be disabled in the per-language customization.

Застосовується перше з наявних налаштувань:

  1. Налаштування мови проєкту

  2. Підлаштування мови

  3. Налаштування проєкту/складника

Примітка

Будь ласка, будьте обережні, використовуючи перевизначення для всього сайту, оскільки це стосується всіх проєктів (якщо вони не мають власних перевизначень для певної мови).

Custom source language

Select Source language in a project’s language workflow settings to translate from another language in the same project. For example, you can translate a regional language variant from its parent language. Leave the selection empty to use the component’s source language.

The selected language’s translation is displayed as the source in the editor and used for translation checks, automatic translation, and translation memory. The original source strings and file identifiers remain unchanged.

Changing a parent translation marks its translated children as needing editing. Children are read-only while their parent is untranslated or needs editing, including when reviews are disabled. A parent that is translated (waiting for review) or approved permits editing. This restriction also applies through multiple levels of parent languages. Languages cannot depend on themselves or form a cycle.

If a component lacks the selected language or a matching string, its children are read-only until that source becomes available. Weblate preserves their translations and the configured source language; it does not fall back to the component source. Clearing the setting or selecting the component source language restores the canonical source. Moving a component applies the destination project’s workflow settings. Changing workflow settings updates affected strings before returning; on large projects, this can delay translation edits.

Languages selected as custom sources cannot be deleted until these workflow settings are cleared or changed to another language.

This setting can only be configured per project and language. Existing intermediate language configuration continues to control the component source.

Workflow changes affect new translation-memory updates. Previously stored source and target pairs remain subject to the existing translation-memory retention and cleanup settings. A missing source does not create an active memory entry.

Limiting translation languages

Several settings can limit translation languages. They address different stages of the translation lifecycle and can be combined:

Control requests for languages that do not exist yet

Configure Додавання нового перекладу at workspace, project, category, or component level. Categories and components can inherit this setting; see Settings inheritance. You can let users contact maintainers, point them to translation instructions, create the language file automatically, or disable adding new translations.

Project admins can still add a translation when Weblate can create its file. For components that do not inherit the project setting, change Додавання нового перекладу individually or automate the changes using PATCH /api/components/(string:project)/(string:component)/.

To allow existing project languages while requesting approval for new ones, select Create existing project languages; contact maintainers for new languages. A language qualifies when any non-glossary component in the project has a target translation for it, even with no translated strings. Source-only languages and glossary translations do not qualify. This applies across categories, including shared components and components the contributor cannot access.

Maintainers approve a language by creating its first target translation. Removing the last qualifying translation removes eligibility. Component overrides that allow unrestricted language creation can also introduce an eligible language. Project and category submissions use the languages present at the start of the operation, so component processing order does not affect the result.

Project and category submissions modify only components owned by that project or category. To add a language to a shared component, use its own language creation page; the owning project’s eligibility and permissions apply there.

The REST translation creation endpoint returns HTTP 403 for languages requiring approval; submit these requests through the web interface. The permission to add several languages does not bypass this policy. Maintainers and trusted add-ons retain their existing creation permissions, and repository file discovery is unaffected.

Disabling new translations controls user requests. It does not stop discovery of translation files added to the repository or automatic glossary language synchronization.

Limit which translation files Weblate discovers or creates

Configure Фільтр мов on each component. For example, ^(de|en|fr)$ limits the component to translation files whose language code is de, en, or fr. The filter applies while scanning the component file mask and when creating a new translation file; it does not change permissions for translations that are already present.

Language filters are configured per component, with no project-wide language allowlist. To apply a filter across many components, automate the changes using PATCH /api/components/(string:project)/(string:component)/.

Grant translation access only for selected languages

Use language-scoped teams when different users should be able to translate different languages. A team can only grant permissions, so remove any broader translation permission that would otherwise apply to the same users.

Restrict direct editing of an existing language

Open the language settings in the project, enable Customize translation workflow for this language in this project, and turn on Restrict direct editing.

Users with the Edit string when suggestions are enforced permission can continue editing directly. Other users can add suggestions when Turn on suggestions is enabled. Turn off suggestions as well to make the language editable only by privileged users.

The restriction can also be configured site-wide while Зміна визначень мов. A project-language customization takes precedence over the site-wide language setting.

Use suggestion voting

Turn on Suggestion voting to let users vote on suggestions. Voting alone does not restrict direct editing. A positive Automatically accept suggestions threshold also requires users without the Edit string when suggestions are enforced permission to submit suggestions. Use Restrict direct editing when this restriction should not depend on automatic acceptance.

Доступ до перекладу

access control не обговорюється детально в робочих процесах, оскільки більшість його опцій можна застосувати до будь-якого робочого процесу. Будь ласка, зверніться до відповідної документації щодо керування доступом до перекладів.

У наступних розділах під терміном будь-який користувач ми матимемо на увазі користувача, який має доступ до перекладу. Це може бути розпізнаний системою користувач, якщо проєкт є відкритим, або користувач, який має права доступу до проєкту рівня Translate.

Стани перекладу

Кожен перекладений рядок може перебувати в одному з таких станів:

Не перекладено

Переклад є порожнім — його, залежно від формату, може бути не збережено у файлі перекладу.

Потребує редагування

Переклад потребує редагування; зазвичай це відбувається внаслідок неточного збігу або дій перекладача. Залежно від формату файлу, такий переклад може бути позначений як такий, що потребує редагування (наприклад, у файлі gettext йому присвоюється позначка fuzzy).

Потребує переписування

Переклад потрібно переписати через зміну вихідного рядка.

Потребує перевірки

Статус, що використовується для вихідних рядків/шаблонів, які потребують перевірки розробником. Зазвичай він встановлюється для нових вихідних рядків, імпортованих із системи контролю версій (VCS), коли увімкнено додаток «Редагування вихідного коду», або коли вихідний рядок подано на перевірку.

Перекладено / Очікує на перевірку

Переклад виконано. Якщо увімкнено перевірку, статус перекладу відображається як «Очікує на перевірку».

Схвалено

Переклад було затверджено у процесі рецензування. Перекладачі вже не можуть змінити його, лише рецензенти. Перекладачі можуть лише подавати пропозиції щодо зміни перекладу.

Цей стан доступний, лише якщо увімкнено рецензування.

Тільки для читання

Рядок доступний лише для читання, оскільки має параметр read-only flag, є нередагованим вихідним рядком або позначений як такий у файлі перекладу.

Пропозиції

Пропозиції зберігаються лише на Weblate, а не у файлі перекладу.

Стани представлено у файлах перекладу, коли це можливо.

Підказка

Якщо формат файлу, який ви використовуєте, не підтримує збереження стану, вам може знадобитися додаток Позначити незмінені переклади як «Потребує переробки», щоб позначити незмінені рядки як такі, що потребують перезапису.

Примітка

Параметр Фільтр якості перекладу визначає, які стани перекладу зберігаються у файлі.

Безпосередній переклад

Цей найпоширеніший варіант для малих команд — безпосередньо перекладати може будь-хто. Це також типовий варіант для Weblate.

  • Будь-який користувач може редагувати переклади.

  • Пропозиції є додатковим способом подання змін, якщо перекладачі не певні щодо точності внесеної зміни.

Параметр

Значення

Примітка

Увімкнути рецензії

вимк.

Налаштовано на рівні проєкту.

Пропонувати переклад

Увімк.

Для користувачів можливість надання пропозицій корисна тим, що уможливлює переклад, якщо користувач не певен щодо його правильності.

Голосування за пропозицію

вимк.

Автоматичне прийняття пропозицій

0

Група перекладачів

Users

Або Перекласти за допомогою per-project access control.

Група рецензентів

Н/Д

Не використовується.

Експертне рецензування

У межах цього робочого процесу будь-хто може додавати пропозиції, які потребуватимуть затвердження від інших учасників команди, перш ніж їх буде прийнято як переклади.

  • Будь-який користувач може додавати пропозиції.

  • Будь-який користувач може голосувати за пропозиції.

  • Пропозиції стають перекладами, якщо отримують попередньо встановлену кількість голосів.

Параметр

Значення

Примітка

Увімкнути рецензії

вимк.

Налаштовано на рівні проєкту.

Пропонувати переклад

Увімк.

Голосування за пропозицію

Увімк.

Автоматичне прийняття пропозицій

2

Ви можете встановити вище значення, щоб встановити запит щодо більшої кількості незалежних рецензій.

Група перекладачів

Users

Або Перекласти за допомогою per-project access control.

Група рецензентів

Н/Д

Не використовується, рецензування усіх перекладачів.

Спеціалізовані рецензенти

Якщо у проєкті є спеціалізовані рецензенти, ви матимете дві групи користувачів: одна зможе надсилати переклади, а інше рецензувати їх з метою забезпечення коректності та якості.

  • Будь-який користувач може редагувати незатверджені переклади.

  • Рецензент може затверджувати рядки та скасовувати затвердження рядків.

  • Рецензент може редагувати усі переклади (зокрема й затверджені).

  • Крім того, пропозиціями можна скористатися для пропонування змін до затверджених рядків.

Параметр

Значення

Примітка

Увімкнути рецензії

Увімк.

Налаштовано на рівні проєкту.

Пропонувати переклад

Увімк.

Для користувачів можливість надання пропозицій корисна тим, що уможливлює переклад, якщо користувач не певен щодо його правильності.

Голосування за пропозицію

вимк.

Автоматичне прийняття пропозицій

0

Група перекладачів

Users

Або Перекласти за допомогою per-project access control.

Група рецензентів

Рецензенти

Або Огляд з per-project access control.

Вмикання рецензування

Перегляди можна ввімкнути в конфігурації проєкту, на підсторінці Workflow налаштувань проєкту (знаходиться в меню Operations → Settings):

_images/project-workflow.webp

Per-language reviews

To require review only for selected languages, first turn on Увімкнути рецензії for the whole project. Then open each project language page that should use different behavior, enable Customize translation workflow for this language in this project, and turn Enable reviews off for languages that should not require review.

Reviewers also need review access for the same language. Add them to a team whose roles include Review strings, and limit that team or the user membership to the language they should review. See Керування правами доступу на рівні проєкту and Контроль доступу на всьому сайті for language-scoped access setup.

If approval buttons are not visible, check both parts of the setup: reviews have to be enabled for that translation, and the signed-in user has to have review permission for that language.

Machine translation and LLM workflows

Machine translation services, including large language model (LLM) services, can assist human translators or generate translations for them to edit or approve. Choose a workflow based on when humans should check the generated text and when it should reach the repository.

First, configure the services under Automatic suggestions in the project settings or site administration; see Автоматичні пропозиції. For LLM services, see LLM translation context for the context and instructions used to guide translation.

To process strings in bulk, run Автоматичний переклад, select Machine translation as the source, and choose the services to use. For ongoing automation, configure the Автоматичний переклад add-on on the component with the same source and desired mode. Use the query state:empty to fill empty translations without replacing existing human work; see Пошук рядків.

Human translation assisted by services

Use this workflow when translators should choose when to use machine translation for each string.

Translators consult the Автоматичні пропозиції tab in the editor, choose a service result, edit it as needed, and save the translation. These service results are distinct from stored suggestions awaiting acceptance: a human decides what to save. This workflow does not require the Automatic translation add-on and can be combined with Спеціалізовані рецензенти.

Service translation with human editing

Use this workflow to fill translations automatically and let humans improve them directly.

The service output becomes a translation that humans can edit in the usual editor. It can be committed to the repository without human approval.

For machine drafts that should remain visibly unfinished, choose Add as «Needing edit» instead. Humans edit these drafts and clear the Needs editing state when finished. To keep unfinished drafts out of repository commits, set Фільтр якості перекладу to Skip translations marked as needing editing.

Service suggestions with human acceptance

Use this workflow when humans should check service output before it becomes a translation.

Humans check the stored suggestions and accept suitable ones, or edit the proposed text before saving a translation. Suggestions are stored only in Weblate and do not enter translation files until accepted as translations. Accepting a suggestion is separate from approving a translation in the dedicated review workflow.

Service translation with review and a quality gateway

Use this workflow when humans should edit machine translations in Weblate, but only reviewer-approved translations should reach the repository.

Generated translations appear as Waiting for review. Translators can edit them, and reviewers check and approve the finished translations. Only after approval are these translations eligible for repository commits. Translators can suggest further changes to approved strings, while reviewers can edit them directly.

Enabling reviews alone does not keep unapproved translations out of commits. The translation quality filter provides that gateway. Keep reviews enabled for every language that should follow this workflow; check any workflow customization overrides.

AI-assisted quality evaluation

Use the AI quality evaluation add-on to check existing human or machine translations for accuracy, fluency, terminology, style, and formatting. It records quality checks without editing translations or approving them.

Configure an LLM service under Automatic suggestions, then install AI quality evaluation and select the Evaluation service. Choose a query to limit the translations evaluated. Run the add-on manually, choose an Evaluation frequency, or enable evaluation after translation changes or repository updates. Installation does not run evaluation. See the add-on documentation for provider costs and the data sent to the service.

Translators and reviewers can inspect the findings in the editor or search for checks such as check:ai_accuracy. Correct the translation or ignore a finding when appropriate. Combine this with Спеціалізовані рецензенти when human approval is required; AI evaluation does not replace approval or change the translation quality filter used for repository commits.

The component’s Diagnostics recommends the add-on when an LLM service is configured. If the selected service becomes unavailable, an error diagnostic links maintainers to the installed add-on’s configuration.

Reusing existing translations

Use existing translations to bootstrap a new language or component, then have humans adapt matches and fill the remaining gaps.

Run Автоматичний переклад with Other translation components as the source, or select the Пам’ять перекладів service under Machine translation. Choose whether matches become translations, drafts needing editing, or suggestions using the modes described above. Use state:empty to preserve existing translations. The Автоматичний переклад add-on can apply this reuse automatically as strings arrive.

For ongoing consistency, Синхронізація перекладу can copy edits to matching strings across components in the same project. Propagation happens while translating; it does not copy translations merely loaded from the repository. See Підтримання синхронізації перекладів у різних складниках for its requirements and for checks that help humans resolve differences.

Шлюз якості для початкових рядків

Оригінальні рядки вихідної мови зазвичай надходять від розробників, оскільки вони пишуть код і надають початкові рядки. Однак розробники часто не є носіями вихідної мови і не забезпечують бажаної якості вихідних рядків. Проміжний переклад може допомогти вам вирішити цю проблему – існує додатковий шлюз якості для рядків між розробниками та перекладачами.

Завдяки встановленню Проміжний мовний файл, цей файл використовується для перекладу рядків на мову оригіналу перекладачами/редакторами, поки він належить розробникам (часто використовуючи довільні мови, такі як en_devel). Після завершення цього етапу рядки стають доступними для перекладу на цільові мови, на основі того, що зараз є відшліфованою мовою оригіналу, що зберігається в Основний файл для одномовного перекладу.

digraph translations { graph [fontname = "sans-serif", fontsize=10]; node [fontname = "sans-serif", fontsize=10, margin=0.1, height=0, style=filled, fillcolor=white, shape=note]; edge [fontname = "sans-serif", fontsize=10]; subgraph cluster_dev { style=filled; color=lightgrey; label = "Development process"; "Developers" [shape=box, fillcolor="#144d3f", fontcolor=white]; "Developers" -> "Intermediate file"; } subgraph cluster_l10n { style=filled; color=lightgrey; label = "Localization process"; "Translators" [shape=box, fillcolor="#144d3f", fontcolor=white]; "Editors" [shape=box, fillcolor="#144d3f", fontcolor=white]; "Editors" -> "Monolingual base language file"; "Translators" -> "Translation language file"; } "Intermediate file" -> "Monolingual base language file" [constraint=false]; "Monolingual base language file" -> "Translation language file" [constraint=false]; }

Консолідація рядків за допомогою додаткової мови

Якщо Проміжний мовний файл не може бути використано для консолідації рядків, ви можете вибрати одну з мов перекладу як вторинну мову. Мову можна налаштувати у проекті (Вторинна мова) або у компоненті (Вторинна мова). Потім вона показується перекладачам під час перекладу (див. Допоміжні мови) і за бажанням може бути використана як джерело для машинного перекладу (див. Вихідні рядки для машинного перекладу).

Це налаштування може бути корисним для змішаних мовних вихідних рядків і їх об’єднання в один переклад, який потім використовується як базовий для іншої роботи.

Рецензування початкових рядків

Якщо ввімкнено Увімкнути рецензування початкових даних, процес перевірки можна застосовувати до вихідних рядків. Після ввімкнення користувачі можуть повідомляти про проблеми з вихідними рядками. Фактичний процес залежить від того, чи використовується двомовний, чи одномовний формат.

Для одномовних форматів перевірка вихідного рядка працює аналогічно до Спеціалізовані рецензенти — після повідомлення про проблему з вихідним рядком він позначається як Needs editing.

У двомовних форматах не можна безпосередньо редагувати початкові рядки (їх, зазвичай, видобувають безпосередньо з програмного коду). У цьому випадку до рядка, про який надходять скарги від перекладачів, додається мітка Початкові рядки потребують рецензування. Вам слід виконати рецензування таких рядків і або змінити їх у початковому коді, або вилучити мітку.