跳到内容

Bunny’s Language Linker

v0.2

Steph · 2008年1月4日 上架

Helps you create links between equivalent (but different language) pages between WordPress installations.

正在使用
10+
评分
暂无
累计下载
3,454
最近更新
2008年1月4日
需要 WordPress 2.0+已测试到 2.3.1

贡献者

截图

Page editing screen with Language Linker installed.
Page editing screen with Language Linker installed.
What the link looks like at the end of the post.
What the link looks like at the end of the post.

This plugin assumes you have a site in two or more languages, and that you are using a separate WordPress install for each language. It helps you create links between the same pages in different
language versions.

You should have a pattern of parallel sites with urls like http://stephanie-booth.com/en/, http://stephanie-booth.com/de/, http://stephanie-booth.com/fr/. Maybe the page
http://stephanie-booth.com/en/about is equivalent to the page http://stephanie-booth.com/fr/a-propos. The plugin adds a DBX box in the edit/create page admin form, named “Other Language Slugs”. In
this case, you’d edit the “about” page, and paste the fr slug (“a-propos”) in the appropriate field.

The plugin will then display a small link to the page in the other language at the bottom of your page, or in your menu bar if you’re using a Sandbox-based theme.

Careful! This only works for Pages, not posts!

For intelligent user redirection when they land on the home page, you might want to try using the technique described here: http://climbtothestars.org/archives/2007/12/28/browser-language-detection-and-redirection/

Future Development

Here’s what I’d like this plugin to do, someday:

  • automatically capture URLs like http://stephanie-booth.com/en/a-propos and redirect them to http://stephanie-booth.com/en/about (that’s what happens when people edit URLs directly, just replacing
    the language code — I do it all the time)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums