Linux 软件免费装
Banner图

Per Post Language

开发者 fduraibi
更新时间 2016年5月10日 07:32
PHP版本: 4.0.0 及以上
WordPress版本: 4.5.2
版权: GPLv3 or later
版权网址: 版权信息

标签

post posts page pages language multilanguage single translation multilingual locale rtl languages ltr ppl

下载

1.0 1.1 1.2 1.3

详情介绍:

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.

安装:

  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.

屏幕截图:

  • 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 home page shows in the blog default language.
  • Example of a post in Dutch (Deutsch)
  • Example of a post in Azerbaijan (گؤنئی آذربایجان)
  • Example of a post in Arabic (عربي)
  • Example of a post in Brazilian Portuguese (Português do Brasil)
  • Example of a post in Spanish (Español)

常见问题:

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

更新日志:

1.3 1.2 1.1 1.0