Title: Native Gettext for WordPress
Author: colinleroy
Published: <strong>2022 年 2 月 26 日</strong>
Last modified: 2026 年 5 月 22 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/native-gettext.svg)

# Native Gettext for WordPress

 由 [colinleroy](https://profiles.wordpress.org/colinleroy/) 開發

[下載](https://downloads.wordpress.org/plugin/native-gettext.1.1.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/native-gettext/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/native-gettext/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/native-gettext/#developers)

 [技術支援](https://wordpress.org/support/plugin/native-gettext/)

## 外掛說明

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.

## 使用者評論

![](https://secure.gravatar.com/avatar/6b6828d80a4b959f8584a331032769c86ceb4f3b40267c4573569b1caaca6c69?
s=60&d=retro&r=g)

### 󠀁[Really speed up an italian site](https://wordpress.org/support/topic/really-speed-up-an-italian-site/)󠁿

 [Annonnimmo](https://profiles.wordpress.org/annonnimmo/) 2024 年 8 月 19 日

Used on a WP 5.6.x in italian language: frontend pages from 600ms to less than 400ms,
great effect!!Thank you.

![](https://secure.gravatar.com/avatar/cd257f389c91f137dab25f343b527123e887135b01921ebb6206e40cfa2eb636?
s=60&d=retro&r=g)

### 󠀁[Works as it says, fast](https://wordpress.org/support/topic/works-as-it-says-fast/)󠁿

 [Knut Sparhell](https://profiles.wordpress.org/knutsp/) 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.

![](https://secure.gravatar.com/avatar/f99ef16a50d87ccfe464631d036468e3b795ba0c7b1200d1afb01a100aaf7c8f?
s=60&d=retro&r=g)

### 󠀁[Fast & Friendly](https://wordpress.org/support/topic/fast-friendly-3/)󠁿

 [Carsten Bach](https://profiles.wordpress.org/carstenbach/) 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.

 [ 閱讀全部 3 則使用者評論 ](https://wordpress.org/support/plugin/native-gettext/reviews/)

## 參與者及開發者

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

參與者

 *   [ colinleroy ](https://profiles.wordpress.org/colinleroy/)

〈Native Gettext for WordPress〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/native-gettext/contributors)
為這個外掛做出的貢獻。

[將〈Native Gettext for WordPress〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/native-gettext)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/native-gettext/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/native-gettext/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/native-gettext/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/native-gettext/)。

## 中繼資料

 *  版本 **1.1.5**
 *  最後更新 **4 週前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 4.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.0**
 *  PHP 版本需求 ** 5.3 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/native-gettext/) 及 [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/native-gettext/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/native-gettext)
 * 標籤:
 * [gettext](https://tw.wordpress.org/plugins/tags/gettext/)[performance](https://tw.wordpress.org/plugins/tags/performance/)
   [translation](https://tw.wordpress.org/plugins/tags/translation/)
 *  [進階檢視](https://tw.wordpress.org/plugins/native-gettext/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  3 個 5 星使用者評論     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/native-gettext/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/native-gettext/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/native-gettext/reviews/)

## 參與者

 *   [ colinleroy ](https://profiles.wordpress.org/colinleroy/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/native-gettext/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://paypal.me/colinleroymira)