Translation component diagnostics

Показує помилки у налаштуваннях Weblate або проєкту перекладу для будь-якого заданого складника перекладу. Також буде надано супровід щодо способу роботи зі знайденими вадами.

У поточній версії передбачено покриття таких проблем:

  • Дублювання початкових рядків у файлах перекладу

  • Дублювання мов у перекладах

  • Помилки при об’єднанні, оновленні або записуванні до сховища

  • Помилки обробки у файлах перекладів

  • Обмеження рахунків (див. Оплата)

  • Сховище містить забагато вихідних або пропущених внесків

  • Не вказано ліцензування

  • Помилки при запуску додатка (див. Додатки)

  • Misconfigured monolingual or bilingual translation.

  • Зламаний Налаштовування складників

  • Некоректні адреси

  • Невикористані знімки вікон

  • Неоднозначний код мови

  • Невикористана нова база у параметрах складника

  • Дублювання маски файлів, використаних для пов’язаних складників

  • Налаштування репозиторію із суперечливими запитами на злиття

  • Компонент, схоже, не використовується (параметр налаштування: UNUSED_ALERT_DAYS)

  • Unused glossary languages

Сповіщення оновлюються щодня або при пов’язаних змінах (наприклад, коли змінюється Налаштовування складників або коли оновлюється репозиторій).

Перевірку доступності веб-сайтів проектів можна вимкнути за допомогою параметра WEBSITE_ALERTS_ENABLED. У цьому випадку Weblate більше не буде створювати сповіщення про недоступні веб-сайти проектів.

Alerts are listed on each respective component page as Diagnostics.

Project and workspace diagnostics overviews

Signed-in users can open the Diagnostics tab on project and workspace pages. The overview is loaded when opened and groups alerts of the same type instead of repeating them for every component.

The project overview shows project-wide findings once and lists the components affected by component-specific findings:

Project diagnostics overview with grouped findings and filters

The workspace overview groups project-wide findings by project and identifies components using both the project and component name:

Workspace diagnostics overview with grouped findings and filters

Each finding lists up to 20 affected projects or components. Additional affected objects are shown as a count. Follow a component link to see the complete diagnostic details or dismiss a diagnostic on the component page.

The summary can be filtered by active or dismissed state, severity, category, or whether the signed-in user can act on the diagnostic. Components shared into a project are listed only in the diagnostics of their owning project.

If it is missing, the component clears all current checks. Problem alerts cannot be ignored, but will disappear once the underlying problem has been fixed.

Information and warning alerts are used for guidance on improving community localization. These can be dismissed and make the Diagnostics tab visible, but they do not indicate a component problem in listings.

Dismissed diagnostics record who dismissed them, when they were dismissed, and an optional reason. A dismissal is automatically reopened when the diagnostic details or the configuration relevant to that diagnostic changes. Dismissal and reopening are both recorded in the component change history.

Warning and error notifications are sent only to subscribed project maintainers who have permission to act on the diagnostic. Informational recommendations do not send unsolicited notifications.

Custom alerts can override BaseAlert.get_dismissal_context(component, details) to include stable, JSON-serializable configuration or diagnostic inputs. Changing the returned context reopens a dismissed alert. Incidental values such as evaluation time should not be included.

Складник із дублікатами рядків і мов виглядає ось так:

../_images/alerts.webp

Проблеми з налаштуванням репозиторію

This alert is shown when multiple Git components are configured to push to the same repository and push branch without all of them pulling from that branch. This includes pull or merge request workflows, and direct pushes to a separate push branch. Such a setup can overwrite the shared branch.

Щоб вирішити цю проблему, налаштуйте для кожного компонента окрему Push branch або використовуйте спільний репозиторій для всіх компонентів, вказавши URL-адресу репозиторію у форматі weblate://project/component.