[WordPress] 外掛分享: Translations for PressBooks

WordPress 外掛 Translations for PressBooks 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Translations for PressBooks」是 2019-11-28 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2019-11-29,距離現在已有 1983 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

colomet | danzhik | dcazzorla | lukastonhajzer |

外掛標籤

multisite | pressbooks | translations | wordpress plugin | internacionalization |

內容簡介

透過使用這個外掛,你可以選擇書本的目標語言(除了焦點語言)並建立頁面與可用翻譯語言之間的關係。

僅適用於多網站安裝!
僅適用於PressBooks安裝!

1.2.7

新增

函數前綴、資料驗證和代碼格式增強
更改為外掛目錄的動態路徑

1.2.6

新增

控制於前端(書本和文章層級)顯示翻譯選項的功能。詳細資訊請參閱使用者手冊。
插件卸載時從數據庫中刪除所有插件數據的功能(可選擇保留數據)。詳細資訊請參閱使用者手冊。

增強

更新使用者手冊以提供最新的設置資訊。
進行了一些國際化。

錯誤修正

啟用「顯示翻譯」後,後繼的文章翻譯未設置為啟用狀態。
更改了add_action hook。
插件卸載後保存插件數據的網路設置選項現在默認為「啟用」。
更新了查詢,現在接受「book-information」和「book-info」文章名。
檢查是否存在與當前文章相關的“tfp_post_translation_enable”(目錄)。
增加了在卸載功能中的網站數量至500。

修訂文件清單

translations-for-pressbooks.php
translations-for-pressbooks-change-htmlang.php更名為tfp-change-htmlang.php
translations-for-pressbooks-print-hreflang.php更名為tfp-print-hreflang.php
新增了tfp-network-settings.php
新增了tfp-translation-enabler.php
新增了uninstall.php
user-manual.php

1.2.5

新增

列印可用翻譯的hreflang標籤的功能。
修改預設WP html lang標籤的功能

增強

刪除更改“cs”國家代碼至“cz”並重新命名旗幟的條件。

修訂文件清單

新增了translations-for-pressbooks-change-htmlang.php
新增了translations-for-pressbooks-print-hreflang.php
新增了translations-for-pressbooks.php

1.2.4

新增

新增了新功能: getOriginalBookLanguage() , getCurrentBookFlag() 和 getCurrentBookLanguageCode()。

增強

修改現有的pbc_print_trans_links()函數以滿足更新的books4languages-book-child-theme-for-pressbooks v1.3主題的需求。
將國旗名稱從“cs.png”更改為cz.png

修訂文件清單

translations-for-pressbooks.php

1.2.3

移除

來自github的自動更新

原文外掛簡介

With use of this plugin you will be able to select the target language of the book (besides the focus language) and to create relationships between the pages and the available translated languages.
Only works with multisite installation!
Only works with PressBooks installation!
1.2.7

ADDITIONS

Functions prefixing, data validation and code format enhancements
Changing to dynamic pathways for plugin directory

1.2.6

ADDITIONS

Functionality for control of displaying translations options in the front-end (book and post level). More info in user-manual.
Functionality which removes all the plugin data from DB on plugin uninstall (with option to keep the data if we want to). More info in user-manual.

ENHANCEMENTS

Updated user-manual to provide up to date setup information.
Some Internationalization

BUGFIXES

Post translations were not freshly set to enable after “Display translations” enabled while “Save previous post values” disabled
add_action hook changed
Network setting option for saving plugin data after plugin uninstall now set to ‘enabled’ by default
Updated querry now accepts both “book-information” and “book-info” post names
Check if ‘tfp_post_translation_enable’ related to current post exists (table-of-contents)
Increase number of sites in uninstall functionality to 500

List of Files revised

translations-for-pressbooks.php
translations-for-pressbooks-change-htmlang.php renamed to tfp-change-htmlang.php
translations-for-pressbooks-print-hreflang.php renamed to tfp-print-hreflang.php
added tfp-network-settings.php
added tfp-translation-enabler.php
added uninstall.php
user-manual.php

1.2.5

ADDITIONS

Functionality for printing hreflang tags of the available translations.
Functionality for modifying default WP html lang tag

ENHANCEMENTS

Remove condition which changes “cs” country code to “cz” and rename flags back accordingly.

List of Files revised

added translations-for-pressbooks-change-htmlang.php
added translations-for-pressbooks-print-hreflang.php
added translations-for-pressbooks.php

1.2.4

ADDITIONS

New functions: getOriginalBookLanguage() , getCurrentBookFlag() and getCurrentBookLanguageCode().

ENHANCEMENTS

Modifies existing pbc_print_trans_links() function for needs of updated books4languages-book-child-theme-for-pressbooks v1.3 theme.
Changes flag name from “cs.png” to cz.png

List of Files revised

translations-for-pressbooks.php

1.2.3

REMOVED

Auto update from github

1.2.2

ENHANCEMENTS

Hide not use languages

List of Files revised

translations-for-pressbooks.php

1.2.1

ENHANCEMENTS

Create folder assets and add folder flag-icon

REMOVED

Original mark, now it’s in extensions-for-pressbooks

List of Files revised

translations-for-pressbooks.php

1.2

ADDITIONS

Languages names alphabetical organization

BUGFIXES

Translations bug
Concentration of code

List of Files revised

translations-for-pressbooks.php
original-mark.php

1.1

Edition extension removed

Disclaimers
The Translations for PressBooks is supplied “as is” and all use is at your own risk.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Translations for PressBooks」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.2.7 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon