Title: Per Post Language
Author: Fahad Alduraibi
Published: <strong>2016 年 4 月 12 日</strong>
Last modified: 2016 年 5 月 9 日

---

搜索插件

![](https://ps.w.org/per-post-language/assets/banner-772x250.png?rev=1394460)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/per-post-language/assets/icon-256x256.png?rev=1394460)

# Per Post Language

 作者：[Fahad Alduraibi](https://profiles.wordpress.org/fduraibi/)

[下载](https://downloads.wordpress.org/plugin/per-post-language.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/per-post-language/#description)
 * [评价](https://cn.wordpress.org/plugins/per-post-language/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/per-post-language/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/per-post-language/#developers)

 [支持](https://wordpress.org/support/plugin/per-post-language/)

## 描述

**Do you write posts in different languages?
 Would you like your blog theme language
to be the same as the language in which your wrote your post or page?

With this plugin you can set the language of your blog per post and also per page,
that is if your blog is in English and you wrote a post or a page in Spanish or 
Arabic you can set the language of your blog to match that post’s or page’s language,
so when your visitors open that post or page they will see your blog in that language.
You don’t have to translate your theme and plugins if they come with translations
and even it will change the direction of the view to RTL (Right-to-Left) if your
language is RTL based.

 * The plugin does not provide any translations, it only changes the themes and 
   plugins translation language if they provide there own translations.
 * The available languages are only the languages that WordPress already recognizes
   and supports.
 * The plugin only works for posts and pages, the front page will show in the blog
   default language.

## 屏幕截图

[⌊The settings page of the plugin where you add needed languages.⌉⌊The settings 
page of the plugin where you add needed languages.⌉[

The settings page of the plugin where you add needed languages.

[⌊The "Post Language" box is used to set the post language from the post edit page.⌉⌊
The "Post Language" box is used to set the post language from the post edit page
.⌉[

The “Post Language” box is used to set the post language from the post edit page.

[⌊The home page shows in the blog default language.⌉⌊The home page shows in the 
blog default language.⌉[

The home page shows in the blog default language.

[⌊Example of a post in Dutch (Deutsch)⌉⌊Example of a post in Dutch (Deutsch)⌉[

Example of a post in Dutch (Deutsch)

[⌊Example of a post in Azerbaijan (گؤنئی آذربایجان)⌉⌊Example of a post in Azerbaijan(
گؤنئی آذربایجان)⌉[

Example of a post in Azerbaijan (گؤنئی آذربایجان)

[⌊Example of a post in Arabic (عربي)⌉⌊Example of a post in Arabic (عربي)⌉[

Example of a post in Arabic (عربي)

[⌊Example of a post in Brazilian Portuguese (Português do Brasil)⌉⌊Example of a 
post in Brazilian Portuguese (Português do Brasil)⌉[

Example of a post in Brazilian Portuguese (Português do Brasil)

[⌊Example of a post in Spanish (Español)⌉⌊Example of a post in Spanish (Español)⌉[

Example of a post in Spanish (Español)

## 安装

 1. Search for the plugin from within the blog plugin admin page, or manually upload
    the plugin folder to the `/wp-content/plugins/` directory.
 2. Install and Activate the plugin.
 3. Go to Settings -> “Per Post Language” and add your languages.

To use it simply go to the post edit page and select the language from the “Post
Language” box.

IMPORTANT: If you use server caching or have a caching plugin, you might need to
delete all caches after installing or updating this plugin.

## 常见问题

  Q: I installed this plugin but my theme or plugin still shows in the default blog
language, why?

Check if your theme or plugin has support for your language. Also if switching to
RTL language make sure your theme has RTL support. (All WordPress default themes
has support for LTR & RTL and translations for many languages)

  Q: I use a plugin which has support for my language but that plugin still shows
in the default language?

Some plugins are developed to load the translations very early and before the post
is loaded so they only see the default language. Contact the plugin developers or
create a support ticket and ask them to delay the loading of the translations, also
send them this link: http://geertdedeckere.be/article/loading-wordpress-language-
files-the-right-way

## 评价

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

### 󠀁[Great gadget](https://wordpress.org/support/topic/great-gadget/)󠁿

 [Jeremy Wu](https://profiles.wordpress.org/dreamingwu/) 2023 年 2 月 24 日

This plugin provides a small way to solve multilingual websites, specify different
language tags on different pages or articles, and it can also work normally on WordPress
6.1.1

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

### 󠀁[Works 2021](https://wordpress.org/support/topic/works-2021/)󠁿

 [Johan Edlund](https://profiles.wordpress.org/pjedlund2013/) 2021 年 3 月 3 日

Still works fine 2021. Thanks Fahad!

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

### 󠀁[Still perfect (juli 2018)](https://wordpress.org/support/topic/still-perfect-juli-2018/)󠁿

 [1000zen](https://profiles.wordpress.org/1000zen/) 2018 年 7 月 17 日

Although the plugin has not been updated for two years, I gave it a try. It is exactly
what I needed to get the Google Charts displaying the right thousands separator 
on a website with pages in either Dutch or English 12.000,00 in Europe 12,000.00
in English notation The plugin changed the tag <html lang=”en-US”> which is something
that not can be done by adding extra meta tags in the header section.

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

### 󠀁[simple and useful it is](https://wordpress.org/support/topic/simple-and-useful-it-is/)󠁿

 [MatinGholami](https://profiles.wordpress.org/matingholami/) 2017 年 9 月 19 日

This is exactly what i need, simple and useful, Thank you so much dear Fahad 🙂

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

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-15196/)󠁿

 [H.Lo](https://profiles.wordpress.org/hlo-1/) 2017 年 9 月 16 日

Really great plugin. Have my blog with recipes for my and nearby countries. This
plugin is just the one I needed to support foreign language nested into my whole
blog in my local language. https://vegcook.net/ Also I wrote my own theme detecting
post language and displaying flags depending on a post language (please see flags
before the titles on main front page). All my recommendations!

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

### 󠀁[Does just what it says](https://wordpress.org/support/topic/does-just-what-it-says-17/)󠁿

 [Milen Petrinski – Gonzo](https://profiles.wordpress.org/gonzomir/) 2017 年 7 月
4 日

This plugin does a great job when all you want is to have a page in a different 
language. Since it changes the WordPress locale, it affects the HTML language attributes,
the language attributes, generated by SEO/OpenGraph/sharing plugins, etc. which 
is great. I was just researching the proper action hook to use to switch the locale
per post or page, when I found out it has been already done and packaged in plugin.
It saved me an hour or two developing my own solution.

 [ 阅读所有9条评价 ](https://wordpress.org/support/plugin/per-post-language/reviews/)

## 贡献者及开发者

「Per Post Language」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Fahad Alduraibi ](https://profiles.wordpress.org/fduraibi/)

「Per Post Language」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/per-post-language/contributors)
为本插件所做的贡献。

[帮助将「Per Post Language」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/per-post-language)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/per-post-language/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/per-post-language/)，或通过[RSS](https://plugins.trac.wordpress.org/log/per-post-language/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/per-post-language/)。

## 更新日志

#### 1.3

 * Set the language direction of the editing page for posts and pages if your language
   is RTL, that can be done by setting the direction of your language from settings
   page. The direction only effect the title and the post body, the rest follows
   the main default blog language direction.

#### 1.2

 * Now you can set the language for Pages also.
 * Language translation fix to be compatible with WordPress translation service
 * A visual notifications for language download status.

#### 1.1

 * Bug fix, make the plugin react only on posts and not pages.

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.3**
 *  最后更新：**10 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 4.0.0 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/per-post-language/) 和 [English (US)](https://wordpress.org/plugins/per-post-language/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/per-post-language)
 * 标签
 * [language](https://cn.wordpress.org/plugins/tags/language/)[languages](https://cn.wordpress.org/plugins/tags/languages/)
   [multilanguage](https://cn.wordpress.org/plugins/tags/multilanguage/)[multilingual](https://cn.wordpress.org/plugins/tags/multilingual/)
   [ppl](https://cn.wordpress.org/plugins/tags/ppl/)
 *  [高级视图](https://cn.wordpress.org/plugins/per-post-language/advanced/)

## 评级

 4.9 星（最高 5 星）。

 *  [  8 条 5 星评价     ](https://wordpress.org/support/plugin/per-post-language/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/per-post-language/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/per-post-language/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/per-post-language/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/per-post-language/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/per-post-language/reviews/)

## 贡献者

 *   [ Fahad Alduraibi ](https://profiles.wordpress.org/fduraibi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/per-post-language/)