[WordPress] 外掛分享: Native Gettext for WordPress

首頁外掛目錄 › Native Gettext for WordPress
40+
安裝啟用
★★★★★
5/5 分(3 則評價)
562 天前
最後更新
問題解決
WordPress 4.7+ PHP 5.3+ v1.1.4 上架:2022-02-25

內容簡介

這個外掛沒有設置或使用者介面。它只做了一件事情:使用 php-gettext 庫來處理翻譯。這將比使用 WordPress 的默認 PHP gettext 實現更快速。

如果這個擴展名不可用,插件將不會做任何事情。

您可以通過查看 HTTP 頭來驗證插件是否正常運作:X-Native-Gettext:1,該頭將在原生庫翻譯字符串時立即發送。

如果您的 WordPress 安裝是英文的,則此插件沒有作用。否則,它可以大大加快您的安裝速度。

要求:
– php-gettext
– 支持您想要翻譯的語言的操作系統級別支持。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Mastodon