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

Language Field

描述

Did you ever struggle with more than one language on a WordPress blog?
In a world of globalization those struggles reach me very often.

This plugin has the ability to store language codes the in post meta data to have articles with different languages on the same page. This might be interesting for blogs who only need sometimes a different language.

One of those is the following case:
The boss is writing articles in english but its a german company and needs some articles in german too.
But the second language articles are unique and not only translations.

You maybe think that would be quite simple using WPML. But what are you doing if you need both languages on the start page?
For this special case, we wrote a plugin, which is able to show all languages on the home page and manipulates the query if some language is chosen.
It also makes a difference in terms of SEO as it changes the line

<html xmlns=”http://www.w3.org/1999/xhtml” dir=”ltr” lang=”en-EN”>

according to your language.

For a real working experience you can use it in combination with the no function language widget.

屏幕截图

  • The Language Metabox
  • Add Languages in backend

安装

  1. Upload ‘language-field-plugin’ folder to the /wp-content/plugins/ directory.
  2. 通过WordPress的“插件”菜单激活插件。
  3. Go to Settings -> Language Field and start adding your languages.

常见问题

Where can I read more?

http://www.wp-plugin-dev.com/the-language-field-plugin/

Where can I get support?

Contact us at http://www.wp-plugin-dev.com/support-contact/

评价

2017 年 4 月 25 日
Nice plugin, but why only for single posts, not for pages? I have one website, which contents just two pages written in english (they are especially for people beeing able to understand it), all other sites are in german. It took me some lines of code in lf_core_functions.php to make it possible using the plugin for pages as well. May be you think about offering the possibility as well in the future.
阅读所有5条评价

贡献者及开发者

“Language Field” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Language Field”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.9

Bugfixes for future versions

0.7

Initial release