Опис
The plugin adds a “Translation Stats” column to the Plugins screen, and the translation stats to the Themes screen in WordPress admin: a translation stats bar on the theme cards, and a translation stats widget in the theme details.
Select the plugins and themes to show the translation stats in the plugin settings.
Show the translation stats of any plugin or theme on your site with the Translation Stats block: search the project on WordPress.org, choose the language and the subprojects, and update the stats right from the block editor. The block requires WordPress 6.3 or later.
The translation stats are shown only for plugins and themes that exist in translate.wordpress.org and are prepared for localization.
Якщо плагін не має повної статистики перекладів, ви побачите повідомлення з однією з наведених нижче причин:
- Плагін не знайдено на WordPress.org
- Проект перекладу не знайдено на WordPress.org
- Плагін не підготовлено належним чином для локалізації
Кольорова гама панелей статистики перекладів точно така ж, як і в GlotPress, щоб відповідати перекладацькому досвіду на translate.wp.org.
Цей плагін належним чином підготовлено до локалізації.
Скріншоти








Блоки
Цей плагін надає 1 блок.
- Translation Stats Show the translate.wordpress.org translation stats of a plugin or theme.
Часті питання
Що таке підпроекти плагіна?
- Development: the plugin’s Development version (trunk)
- Development Readme: the plugin page on WordPress.org/plugins, from the Development version
- Stable: the plugin’s Stable version (latest release)
- Stable Readme: the plugin page on WordPress.org/plugins, from the Stable version
Do themes have subprojects?
No. The themes translation projects on translate.wordpress.org have no subprojects, so the theme translation stats have a single translation stats bar.
Why don’t I see the translation stats for a plugin or theme?
Only plugins and themes hosted on WordPress.org have translation projects on translate.wordpress.org. Check that it’s selected in Settings > Translation Stats, and that its slug matches its text domain: the settings table shows a check mark when it does.
Which language are the stats shown for?
The language set in Settings > Translation Stats > Settings. By default, the site language.
How often are the stats updated?
The stats are cached for the time set in the Tools tab, 24 hours by default. Use the refresh button on each plugin or theme to update them right away, or clean the whole cache in the Tools tab. In the block editor, use the update button in the Translation Stats block toolbar.
How can I show the translation stats on my site?
Add the Translation Stats block to any post, page or template, and search the plugin or theme, installed or on WordPress.org. Choose the language and the plugin subprojects in the block settings. Visitors see the cached stats, loaded in the background when needed, without slowing down the page. The block requires WordPress 6.3 or later.
How can I translate a plugin or theme?
- Log in to WordPress.org, or create an account
- Click the translation stats bar of the plugin subproject or theme you want to translate
- Read the Polyglots Translator’s Handbook
- Translate according to the rules of your Locale Translation Team
Should I translate both Stable and Development?
Usually not. New strings and edits to approved translations are synced between Development and Stable, and when a plugin releases a new version, its Development translations are copied to Stable. Read more…
Скільки часу потрібно, щоб переклад став доступним?
Readme translations are published almost immediately. The first language pack of a plugin or theme is generated when 90% of its strings are translated and approved. For plugins, that’s the Stable (latest release) subproject. After that, language packs are updated with each new approved translation.
Can I help translate this plugin to my own language?
Yes you can! If you want to translate this plugin to your language, please translate it on translate.wordpress.org.
Чи можу я зробити свій внесок у цей плагін?
Звичайно! Ви можете повідомити про будь-які проблеми або додати пропозиції щодо функцій у репозиторій GitHub.
Where can I get support?
Ask your questions in the support forum on WordPress.org.
Відгуки
Учасники та розробники
“Translation Stats” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
Учасники“Translation Stats” було перекладено на 20 локалізацій. Дякуємо перекладачам за їх роботу.
Перекладіть “Translation Stats” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
2.1.1
- Fix the block editor slow to load pages with many Translation Stats blocks, with a spinner on each block. The stats load in the background, as on the frontend, and each block shows the stats placeholder until they are loaded.
- Update the development dependencies.
- Developers: The
translation_stats_block_load_statsfilter defaults to false also in the block editor.
2.1.0
- New: The Translation Stats block, to show the translation stats of any plugin or theme on your site, in any language, with the project name and links to translate it. Search the plugins and themes on WordPress.org, and update the stats from the block editor. Requires WordPress 6.3.
- Fix the stats of the language variants, like Português (AO90), Deutsch (Sie), Nederlands (Formeel) or Català (Valencià), shown as not found since 1.3.3, and their links to translate.wordpress.org. The cached stats update when they expire: to see them right away, use Clean Cache in Settings > Translation Stats > Tools.
- Fix the Translation Stats link of the Themes screen, not translated.
- Include the SCSS sources in the GitHub archives.
- Update the development dependencies.
- Developers: The REST API routes
translation-stats/v1/block-statsandtranslation-stats/v1/block-projectsfor the block, and thetranslation_stats_block_load_statsfilter.
2.0.0
- New: Show the translation stats of themes on the Themes screen, with a translation stats bar on the theme cards and a translation stats widget in the theme details.
- New: Select the themes to show the translation stats in the new Themes settings tab.
- Show the translate.wordpress.org error message in the translation stats notice, like when it’s unavailable.
- Show a placeholder of the translation stats bars while loading them.
- Return to the same settings tab after saving the settings.
- Fix the settings update notice shown before the page, and in any request, after updating the plugin. It’s now shown once in the admin notices.
- Fix the activation notice not shown with a different plugin folder name, and mention the themes.
- Fix the settings Save button focus cut on the left.
- Save the settings checkboxes as booleans, updating the saved settings automatically.
- Remove the console logs.
- Remove the bundled Portuguese (pt_PT) translation files, not loaded by WordPress. The translations are loaded from translate.wordpress.org.
- Developers: Add the
Project,Plugin_ProjectandTheme_Projectclasses for the translate.wordpress.org projects and their translation stats. RemoveTranslations_API::translations_api_get_plugin(),plugin_project_on_translate_wporg()andplugin_subproject_on_translate_wporg(), andPlugins::plugin_subproject_stats(),plugin_stats_cached()andplugin_subproject_stats_transient(). - Developers: The REST API route
translation-stats/v1/(plugins|themes)/<slug>/statsloads the plugins and themes translation stats. - Developers: Rename the
TRANSLATION_STATS_TRANSIENTS_PREFIXconstant toTRANSLATION_STATS_TRANSIENTS_PLUGINS_PREFIX. The themes transients useTRANSLATION_STATS_TRANSIENTS_THEMES_PREFIX. - Build the JavaScript and CSS with
@wordpress/scripts. - Increase PHPStan level to 9, and unit tests coverage.
1.4.0
- Bump minimum WP version to 5.9.
- Security: Check the user permission to load the plugin translation stats, now loaded with the REST API.
- Show the cached plugin translation stats instantly, loading only the missing ones.
- Show the plugin translation stats update status next to the update button, without moving the stats.
- Fix translate.wordpress.org errors and rate limits shown as translation project not found for a day.
- Fix the Translation Stats plugins filter, status link and settings update on Multisite.
- Fix cleaning the cache on Multisite.
- Fix plugin data not deleted on uninstall with the default settings and on Multisite.
- Fix default settings saved nested when sanitizing settings without data.
- Show an error page with status 403 when the settings form nonce fails.
- Increase unit tests coverage.
1.3.3
- Tested up to WP 7.1.
- Fix deprecation notice on PHP 8.5.
- Fix settings icons.
- Bump minimum WP version to 5.1.
- Increase PHPStan Level to 8.
1.3.2
- Tested up to WP 6.9
- Fix the translated descriptions of plugins in the plugin table filter for plugins with translation stats.
- Add sanitization of settings.
- Add PHP Unit Tests.
- Update library Tablesorter.
- Deprecate TRANSLATION_STATS_DEBUG constant.
1.3.1
- Протестовано до WP 6.6
- Завжди показувати сповіщення для непідготовлених до локалізації плагінів.
1.3.0
- New checkboxes in the subprojects column to bulk-select a specific subproject in all plugins.
- Improve the indeterminate [-] behavior of table checkboxes.
- Cleanup the Debug section and fix the PHP error when there are no settings saved yet.
1.2.8
- Виправлено повідомлення про застарілість у PHP 8.2+
- Показувати поточні/всі підрахунки у статистиці підпроєкту. Реквізит @Irinashl
1.2.7
- Fix typos in comments. Props @szepeviktor
- Показувати статистику повідомлень адміністратора лише на
WP_DEBUG. Реквізит @Irinashl
1.2.6
- Протестовано до WP 6.5
- Виправлено неправильне розташування заповнювачів у коментарях до перекладачів. Реквізит @presskopp
1.2.5
- Власна іконка для сповіщення про оновлення в черзі
1.2.4
- Queue Translation Stats updates in sequence to avoid many Ajax requests in parallel
1.2.3
- Виправлено помилковий підрахунок у фільтрі плагінів: тепер враховуються лише ті плагіни, які ввімкнено в налаштуваннях статистики перекладів і які дійсно встановлено
1.2.2
- Протестовано до WP 6.1
- Протестовано лише на підтримуваних версіях PHP (7.4+)
- Детальніший журнал консолі для оновлення статистики перекладу плагіна
- Показувати інформацію про мовний пакет, якщо відсоток перекладу нижче мінімального порогу
1.2.1
- Протестовано до WP 5.9
- Виправленно помилки PHP у нових інсталяціях перед збереженням налаштувань
- Виправлено видалення даних плагіна під час видалення
- Використовуйте мініфікований CSS
1.2.0
- Покращення кольору та межи віджету статистики
- Покращено сповіщення у віджеті статистики з інформацією про проблеми з перекладацькими проектами на WP.org
- Code refactoring of settings sections and fields for easy management and extension
- Code refactoring of the Stats widget bars and notices
- Admin notices custom wrap support
- Виправлено префікси кодів
- Виправлено помилку повернення у відключеному рядку статистики підпроекту
- Виправлено проблеми з CSS
- Покращення режиму налагодження
- Покращено лінкування та компіляцію
1.1.5
- Оптимізація процесу випуску релізів на GitHub
- Оптимізація папок ресурсів
- Незначні покращення коду
1.1.4
- Remove unnecessary development files
1.1.3
- Протестовано до WP 5.8
- Remove deprecated dark-mode compatibility
1.1.2
- Протестовано до WP 5.7
- Незначні покращення коду
- Оновлення префіксів констант плагінів
1.1.1
- Протестовано до WP 5.6
- Незначні покращення коду
1.1.0
- Включити список мов, оскільки translate.wp.org Languages API було вимкнено в мета changeset #10056
- Видалити нещодавню функцію Оновлення перекладу WordPress, функцію перенесено до нового плагіна Translation Tools, створеного спеціально для оновлення перекладів, з багатьма супутніми функціями, що виходять за рамки цього плагіна.
- Протестовано до WP 5.5
- Оптимізація коду
1.0.5
- Додане WPLANG та доступні мови до випадаючого списку мов налаштувань
1.0.4
- Виправлено повідомлення адміністратора
- Незначні покращення коду
1.0.3
- Додано власне повідомлення у футері
- Виправити параметри utm
1.0.2
- Нове сортування та фільтр у таблиці налаштувань плагінів
- Виправлено помилку таймауту при отриманні списку мов з API translate.wp.org
1.0.1
- Fix custom column title icon and screen reader text
1.0.0
- Версія 1.0! 🎉
- Нова структура та версія бази даних налаштувань
- Нове оновлення бази даних налаштувань
- Новий клас активації
- Оптимізована таблиця налаштувань плагінів
- Виправлено помилку, коли сповіщення не відображаються, якщо вимкнено налаштування “Попередження”
- Незначні покращення коду
0.9.9
- New plugins View to show only Translation Stats enabled plugins
- Нове посилання на список відфільтрованих плагінів на сторінці налаштувань
- Нове посилання на сторінку налаштувань на сторінці плагінів
- Виправлено помилку, коли статистика перекладу не відображається, якщо вимкнено опцію “Попередження”
- Незначні покращення коду
- Протестовано до WP 5.4
0.9.8
- Виправлено помилку у налаштуваннях чекбоксів тристанів
- Remove filter ‘tstats_enable_debug’
- Виправлено повідомлення про переклад оновлення ядра WP під час встановлення бета-версії
- Рефакторинг за допомогою PHPStan (рівень 6)
0.9.7
- Add tristate to parent checkboxes with enabled and disabled children
- Незначні покращення коду
0.9.6.3
- Виправлено помилку в JavaScript
0.9.6.2
- Оптимізація коду
0.9.6.1
- Виправлено повідомлення адміністратора
- Виправлено проблеми з CSS
0.9.6
- Add Slug and Text Domain check to plugins settings table
- Додано автозавантаження класу
- Додана перевірка PHPStan
0.9.5.5
- Виправлено проблему з i18n (дякуємо @szepeviktor)
- Незначні покращення коду
- Кава ☕
0.9.5.4
- Незначні покращення коду
- Протестовано до WP 5.3.2
0.9.5.3
- Незначні покращення коду
0.9.5.2
- Незначні покращення коду
- Додане сповіщення адміністратора у майстерні
0.9.5.1
- Незначні покращення коду
0.9.5
- Тепер ви можете оновлювати переклад для WordPress, коли захочете
- Більше не потрібно чекати, поки мовні пакети або ваша локаль будуть завершені на 100%
- Одним кліком оновити всі основні файли перекладу WordPress (.po, .mo та всі .json)
- Протестовано до WP 5.3
0.9.4.3
- Протестовано до WP 5.2.4
- Додана перевірка сумісності з PHP
0.9.4.2
- Протестовано до WP 5.2.3
- Оптимізація коду
- Покращення інтерфейсу
0.9.4.1
- Підвищена мінімально необхідна версія PHP
- Оптимізація коду
0.9.4
- Нові функції завантаження та оновлення AJAX
- Покращено швидкість завантаження екрана плагінів
- Нова кнопка для швидкого оновлення статистики одного плагіна
- Протестовано до WP 5.2.2
- Оптимізація коду
0.9.3
- Протестовано до WP 5.2.1
- Оптимізація коду
0.9.2
- Підтримка власних локальних субдоменів WordPress.org
0.9.1
- Підтримка поточних версій GlotPress 2.x
- Fix typo
0.9.0
- Протестовано до WP 5.1.1
- Fix typo
- Підтримка нових локацій
- Підтримка всіх локалей на translate.wp.org через API WordPress
0.8.5
- Протестовано до WP 5.1
- Виправлено проблеми з CSS
- Виправлення помилок стандартів кодування WordPress
0.8.4
- Виправлено проблеми з CSS
0.8.3
- Виправлено функцію видалення
0.8.2
- Виправлено посилання на авторів
0.8.1
- Додано колонку Автор до переліку плагінів – пропозиція від Webdados.
- Додано посилання на плагіни та авторів
- Виправлення помилок стандартів кодування WordPress
0.8
- Додана сторінка налаштувань статистики перекладів
- Додана таблиця встановлених плагінів, щоб вибрати лише ті плагіни, які вам потрібні для керування статистикою перекладу, щоб зменшити кількість http-запитів
- Додана можливість увімкнути або вимкнути попередження для проектів перекладу
- Додано опції скидання налаштувань і очищення кешу для примусового оновлення статистики перекладів
- Додано можливість вказати мову перекладу, яку ви бажаєте
- Додано можливість вибору збереження або видалення даних плагіну при видаленні
- Add uninstall file
0.7
- Fix Translation Stats column show/hide logic
- Використовуйте Стандарти кодування WordPress
0.6
- Додавання стилів основних повідомлень WordPress до повідомлень про помилки
- Додано активи
- Незначні покращення коду
- Оновлено Readme
0.5
- Перша версія.
