Translation Stats

外掛說明

這個外掛會在 WordPress 管理後台的 [外掛] 頁面加入 [語言套件統計資料] 欄位。

僅有在 translate.wordpress.org已完成國際化準備的外掛才會顯示語言套件統計資料。

如果外掛沒有顯示完整的語言套件統計資料,便會看到以下其中一項原因的通知:

  • 在 WordPress.org 上找不到條件相符的外掛。
  • 在 WordPress.org 上找不到條件相符的語言套件專案。
  • 外掛並未做好本地化的相關準備。

語言套件統計資料列使用的色彩配置與 GlotPress 外掛完全相同,以便與 translate.wordpress.org 上的操作體驗保持一致。

這個外掛已完成本地化準備。

螢幕擷圖

  • Translation Stats 外掛在 WordPress [外掛] 頁面所呈現的功能
  • Translation Stats 顯示已安裝外掛清單
  • Translation Stats [設定] 分頁
  • Translation Stats [工具] 分頁

常見問題集

外掛有哪些子專案?

  • Development:外掛 Development 版的介面譯文。
  • Development Readme:WordPress.org 外掛目錄中外掛 Development 版的說明頁面譯文 (顯示 Readme 檔案內容)。
  • Stable:外掛 Stable 版的介面譯文。
  • Stable Readme:WordPress.org 外掛目錄中外掛 Stable 版的說明頁面譯文 (顯示 Readme 檔案內容)。

如何進行外掛本地化?

  • WordPress.org 上註冊帳號並登入。
  • 點擊想要進行本地化的外掛的子專案統計資料列。
  • 閱讀 Polyglots 團隊提供的譯者手冊
  • 依據你要本地化的語言的地區語言本地化團隊所提供的譯文樣式進行本地化。

是否要同時本地化 Stable 及 Development 這兩個子專案?

從 2016 年 4 月中旬開始,不僅只有新增新字串譯文會在這兩個子專案間同步,連編輯現有字串譯文也會加以同步。這是雙向同步,但只有經過核准的譯文會在這兩個子專案間同步。在外掛發佈新版本後,全部譯文會從 Development 子專案複製至 Stable 子專案。進一步了解

譯文需要多久時間才會生效?

外掛說明頁面的譯文 (Readme 的內容) 經過核准之後會立即生效。
外掛在 Stable 版子專案翻譯並經過核准的介面譯文超過總數的 90% 後,便會產生語言套件並自動推送。

如何將這個外掛本地化為使用者的母語?

如果有使用者要將這個外掛本地化為母語介面,請前往這個外掛的本地化專案頁面

如何參與這個外掛開發專案?

非常歡迎各位前往外掛的 GitHub 存放庫回報問題或提出功能建議。

使用者評論

2020 年 9 月 17 日
It’s excellent. I was looking for a way to add translation stats, and this plugin works like a charm. Nice work!
2019 年 5 月 20 日
I got to know this tool in WordCamp Lisbon contributor day and I must say it's very useful. Not only as a contributor but also as a plugin developer. Good job!
2019 年 3 月 18 日
Este plug-in me é muito útil porque eu trabalho com traduções para o WordPress e o plug-in me ajuda a perceber o que está defasado em nosso idioma. Além disso, é simples e prático. Bom trabalho, Pedro! This plugin is very useful to me in my work on WordPress translations. It helps me to visualize what is incomplete or outdated in my language. Moreover, it is simple and easy to use. Good job, Pedro!
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Translation Stats〉的開發相關工作。

參與者

Translation Stats 外掛目前已有 15 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Translation Stats〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.1

  • Tested up to WP 5.9
  • Fix PHP error on new installs before saving settings
  • Fix delete plugin data on uninstall
  • Use minified CSS

1.2.0

  • Stats widget color and border improvements
  • Stats widget notices improved with the WP.org information about translation projects issues
  • 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
  • Fix code prefixes
  • Fix return error on disabled subproject stats bar
  • Fix CSS issues
  • Debug mode improvements
  • Linting and compiling improved

1.1.5

  • GitHub release process optimization
  • Assets folders optimization
  • Minor code improvements

1.1.4

  • Remove unnecessary development files

1.1.3

  • Tested up to WP 5.8
  • Remove deprecated dark-mode compatibility

1.1.2

  • Tested up to WP 5.7
  • Minor code improvements
  • Update plugin constants prefixes

1.1.1

  • Tested up to WP 5.6
  • Minor code improvements

1.1.0

  • Include Locales list since translate.wp.org Languages API was disabled on meta changeset #10056
  • Remove recent feature to Update WordPress Translation, feature moved to the new spin-off plugin Translation Tools, created specifically to deal with translations updates, with many related features out of the scope of this plugin
  • Tested up to WP 5.5
  • Code optimization

1.0.5

  • Add WPLANG and available languages to the settings languages dropdown

1.0.4

  • Fix admin notices
  • Minor code improvements

1.0.3

  • Add footer custom message
  • Fix utm parameters

1.0.2

  • New sort and filter in the settings plugins table
  • Fix timeout error on get languages list from translate.wp.org API

1.0.1

  • Fix custom column title icon and screen reader text

1.0.0

  • Version 1.0! 🎉
  • New settings database structure and version
  • New settings database updater
  • New activation class
  • Optimized plugins settings table
  • Fix notices not showing when “Warnings” settings was disabled
  • Minor code improvements

0.9.9

  • New plugins View to show only Translation Stats enabled plugins
  • New link to filtered plugins list in settings page
  • New link to settings page in plugins page
  • Fix translation stats not showing when “Warnings” settings was disabled
  • Minor code improvements
  • Tested up to WP 5.4

0.9.8

  • Fix settings checkboxes tristate bug
  • Remove filter ‘tstats_enable_debug’
  • Fix WP core update translation notice on Beta install
  • Refactoring with PHPStan (Level 6)

0.9.7

  • Add tristate to parent checkboxes with enabled and disabled childs
  • Minor code improvements

0.9.6.3

  • Fix JavaScript bug

0.9.6.2

  • Code optimization

0.9.6.1

  • Fix admin notices
  • Fix CSS issues

0.9.6

  • Add Slug and Text Domain check to plugins settings table
  • Add class autoloader
  • Add PHPStan check

0.9.5.5

  • Fix i18n issue (Thanks @szepeviktor)
  • Minor code improvements
  • Coffee ☕

0.9.5.4

  • Minor code improvements
  • Tested up to WP 5.3.2

0.9.5.3

  • Minor code improvements

0.9.5.2

  • Minor code improvements
  • Add admin notice to dashboard

0.9.5.1

  • Minor code improvements

0.9.5

  • Now you can update your WordPress translation when you want
  • No more waiting for language packs or your locale to be 100% complete
  • One click to update all WordPress core translation files ( .po, .mo and all .json )
  • Tested up to WP 5.3

0.9.4.3

  • Tested up to WP 5.2.4
  • Add PHP compatibity check

0.9.4.2

  • Tested up to WP 5.2.3
  • Code optimization
  • UI improvement

0.9.4.1

  • Bump PHP minimum required version
  • Code optimization

0.9.4

  • New AJAX loading and updating features
  • Improved plugins screen loading speed
  • New button to quick update a single plugin stats
  • Tested up to WP 5.2.2
  • Code optimization

0.9.3

  • Tested up to WP 5.2.1
  • Code optimization

0.9.2

  • Support for custom WordPress.org Locale Subdomains

0.9.1

  • Support for current GlotPress 2.x variants
  • Fix typo

0.9.0

  • Tested up to WP 5.1.1
  • Fix typo
  • Support new locales
  • Support for all locales in translate.wp.org through WordPress API

0.8.5

  • Tested up to WP 5.1
  • Fix CSS issues
  • Fix WordPress Coding Standards errors

0.8.4

  • Fix CSS issues

0.8.3

  • Fix uninstall function

0.8.2

  • Fix Author links

0.8.1

  • Add Author column to plugins list – feature suggestion from Webdados
  • Add links to plugins and authors
  • Fix WordPress Coding Standards errors

0.8

  • Add Translation Stats settings page
  • Add installed plugins table to select only the plugins you want to manage translation stats to reduce http requests
  • Add option to enable or disable warnings of translation projects
  • Add options to reset settings and clean cache to force update the translation stats
  • Add option to specify the translation language you want
  • Add option to choose to keep or delete plugin data on uninstall
  • Add uninstall file

0.7

0.6

  • Add WordPress core notices styles to error messages
  • Add assets
  • Minor code improvements
  • Readme update

0.5

  • Initial release.