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

A Simple Multilanguage Plugin

描述

A really simple to use plugin which provides support for additional languages for your pages and posts. Does not work with custom post types and some themes.

Adds title and content edit boxes for each additional language on edit pages for posts and pages. Translation indicator available for post list on admin panel (can be turned off).

Includes widget and shortcode to generate language selection.

When a language is selected, displays all pages, posts and menus based on selected language. Different actions for untranslated content available in the settings.

螢幕截圖

  • Settings panel with 4 languages.
  • Language selection widget and menu in default language, menu in English with display untranslated menu items turned on and menu in English without displaying untranslated menu items.
  • Editing pages with additional languages. All language boxes are collapsable.
  • Translation indicators on page list.

安裝

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Languages screen to update the display name of your default language use ‘Add language’ to add more

常見問題

Does this plugin translate my blog?

No. It provides a convenient environment to store translated content and switch languages.

How do I switch languages?

There is a widget and shortcode for displaying the language selection links. Alternatively you can add ?lang=LANG_SHORT to the URL of any page of your site. Please note that you’ll have to have at least one language added from the settings page before you can switch languages.

I tried to switch languages and all my content and menu dissapreared.

That may be because you haven’t translated any content yet. The plugin does not display untranslated content by default. However, if you wish it do display content in the default language even when switched to another one, there is a setting for that.
If you have translated the content and it still doesn’t show up, it may mean that the plugin does not work with your theme.

Why can’t I translate categories / tags / widgets / custom post types / etc ?

This is a simple plugin for simple sites. It only supports translating titles and content of posts and pages. If you’re running a more complicated site, you’ll need a more sophisticated plugin.

The plugin doesn’t work with my theme.

I’m sorry to hear that. The plugin is tested with most of the themes from the WP team as well as some others and it should work with most. It uses pretty basic WP functions to work, but there are themes that display content differently and I can’t account for them all.

評價

閱讀全部1個評價

貢獻者及開發者

“A Simple Multilanguage Plugin” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 A Simple Multilanguage Plugin 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄