Title: Dynamic MO Loader
Author: Generaxion
Published: <strong>2019 年 7 月 30 日</strong>
Last modified: 2019 年 11 月 21 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/dynamic-mo-loader/assets/icon-256x256.png?rev=2130572)

# Dynamic MO Loader

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

[下載](https://downloads.wordpress.org/plugin/dynamic-mo-loader.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/dynamic-mo-loader/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/dynamic-mo-loader/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/dynamic-mo-loader/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/dynamic-mo-loader/#developers)

 [技術支援](https://wordpress.org/support/plugin/dynamic-mo-loader/)

## 外掛說明

Changing the WordPress site language to any other than English slows down page generation
times. A lot. This is caused by the slow and inefficient way of text domain loading.
This plugin, based on the excellent work by Björn Ahrens, aims to fix that by loading
only the text domains that are used in a page and even more, by caching them.
 PO
and MO files are designed to be used with PHP Gettext-extension. But since it\’s
an extension, it\’s not installed by default on all hosting platforms. To overcome
this barrier, WordPress has re-implemented the whole MO file parsing in PHP completely
ignoring the possibility to use native gettext, if available. This WordPress\’ implementation
is a bit slow. This plugin has another implementation of MO parsing, which is faster
than the default one. The plugin also loads only the text domains that are required
to generate the current page instead the default behavior of loading every available
text domain. As front end pages usually only use strings from few text domains, 
this leads to a great performance boost in front end. To boost the performance even
more, the plugin also caches the loaded text domains in to the object cache. For
optimal performance you need a fast object cache backend like Redis, Memcached or
APC(u).

#### Links

 * [GitHub](https://github.com/aucor/dynamic-mo-loader)

## 安裝方式

Download and activate. That\’s it.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Dynamic MO Loader〉的開發相關工作。

參與者

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

[將〈Dynamic MO Loader〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/dynamic-mo-loader)

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

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

## 變更記錄

#### 1.4.1

 * inc/mo_dynamic.php revert

#### 1.4.0

 * bugfix for plural translation

#### 1.3.0

 * unique function names, sanitized current_url and bugfix for translate function
   concatenating string with zero

#### 1.2.0

 * WordPress.org release

## 中繼資料

 *  版本 **1.4.1**
 *  最後更新 **7 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 4.7.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.2.24**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/dynamic-mo-loader/)
 * 標籤:
 * [rest-api](https://tw.wordpress.org/plugins/tags/rest-api/)[WordPress](https://tw.wordpress.org/plugins/tags/wordpress/)
   [wp_query](https://tw.wordpress.org/plugins/tags/wp_query/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dynamic-mo-loader/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/dynamic-mo-loader/reviews/#new-post)

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

## 參與者

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

## 技術支援

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

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