Title: Multilingual Polylang
Author: Aptivate
Published: <strong>2017 年 5 月 17 日</strong>
Last modified: 2017 年 5 月 17 日

---

搜尋外掛

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

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

# Multilingual Polylang

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

[下載](https://downloads.wordpress.org/plugin/multilingual-polylang.1.0.1.zip)

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

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

## 外掛說明

This plugin, which requires [polylang](https://wordpress.org/plugins/polylang/)

provides the means to include posts that have no translation in the current language
on pages of posts.

#### Usage

Multilingual Polylang provides two public functions:

The function `MultilingualPolylang::get_query()` returns a `WP_Query` object with
posts from
 all languages but where there is a translated post, only the post in
the current language will be included

The function `MultilingualPolylang::get_permalink()` can be used as a drop-in replacement
to
 get_permalink(). This will replace the language in a post URL so that a post
can be viewed in a language different to that of the rest of the interface.

[Follow this project on GitHub](https://github.com/aptivate/multilingual-polylang)

### Development

This plugin uses [wp-cli](http://wp-cli.org/) and [PHPUnit](https://phpunit.de/)
for testing.

#### Download the source code from GitHub

    ```
    $ git clone git@github.com:aptivate/multilingual-polylang.git
    ```

#### Install wp-cli

If not already present, install [wp-cli](http://wp-cli.org/#install)

#### Install PHPUnit

If not already present, install [PHPUnit](https://phpunit.de/)

#### Install the test WordPress environment

    ```
    $ cd multilingual-polylang
    $ bash bin/install-wp-tests.sh test_db_name db_user 'db_password' db_host version
    ```

where:

 *  `test_db_name` is the name of your **temporary** test WordPress database
 *  `db_user` is the database user name
 *  `db_password` is the password
 *  `db_host` is the database host (eg `localhost`)
 *  `version` is the version of WordPress (eg `4.7.5` or `latest`)

#### Run the tests

From the plugin directory:

    ```
    $ phpunit
    ```

## 安裝方式

 1. Upload the plugin to the `/wp-content/plugins/` directory.
 2. Activate it through the **Plugins** menu in WordPress.

## 常見問題集

  Installation Instructions

 1. Upload the plugin to the `/wp-content/plugins/` directory.
 2. Activate it through the **Plugins** menu in WordPress.

## 使用者評論

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

## 參與者及開發者

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

參與者

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

[將〈Multilingual Polylang〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/multilingual-polylang)

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

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

## 變更記錄

#### 1.0.1

 * Documentation changes only

#### 1.0.0

 * First version

## 中繼資料

 *  版本 **1.0.1**
 *  最後更新 **9 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.7.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/multilingual-polylang/)
 * 標籤:
 * [bilingual](https://tw.wordpress.org/plugins/tags/bilingual/)[multilingual](https://tw.wordpress.org/plugins/tags/multilingual/)
   [polylang](https://tw.wordpress.org/plugins/tags/polylang/)[translate](https://tw.wordpress.org/plugins/tags/translate/)
   [translation](https://tw.wordpress.org/plugins/tags/translation/)
 *  [進階檢視](https://tw.wordpress.org/plugins/multilingual-polylang/advanced/)

## 評分

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

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

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

## 參與者

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

## 技術支援

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

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