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.

使用者評論

2022 年 6 月 19 日 1 則留言
Great Plugin. It does one job and it does very good! With the help of the Query Monitor Plugin, I was able to measure a drop of almost 45% of PHP memory usage using "Native Gettext for WordPress" for a simple Dashboard-request. Really cool. The plugin author is answering friendly and helpful to support requests.
2022 年 6 月 20 日
No problems found, after testing on several sites. My sites are all heavily dependent on fast loading of text domains, and all have the PHP gettext extension. PHP 8.0 and 8.1. However, may not work in combination with other WordPress plugins overriding load_textdomain.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Native Gettext for WordPress〉的開發相關工作。

參與者

〈Native Gettext for WordPress〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Native Gettext for WordPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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