內容簡介
這個外掛沒有設置或使用者介面。它只做了一件事情:使用 php-gettext 庫來處理翻譯。這將比使用 WordPress 的默認 PHP gettext 實現更快速。
如果這個擴展名不可用,插件將不會做任何事情。
您可以通過查看 HTTP 頭來驗證插件是否正常運作:X-Native-Gettext:1,該頭將在原生庫翻譯字符串時立即發送。
如果您的 WordPress 安裝是英文的,則此插件沒有作用。否則,它可以大大加快您的安裝速度。
要求:
– php-gettext
– 支持您想要翻譯的語言的操作系統級別支持。
外掛標籤
開發者團隊
② 後台搜尋「Native Gettext for WordPress」→ 直接安裝(推薦)
原文外掛簡介
This plugin has no setting or UI. It just does one thing : use the php-gettext library to handle translations. This results in much faster translation than using the default PHP gettext implementation of WordPress.
If the extension is not available, the plugin will simply do nothing.
You can verify that the plugin is working by looking for an HTTP header: X-Native-Gettext: 1, that will be sent as soon as a string will be translated by the native library.
If your WordPress install is in English, this plugin has no purpose. Otherwise, it can help speed up your install quite a lot.
Requirements:
– php-gettext
– OS-level support for the locale(s) you want to translate to.
