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

Sublanguage Switcher Widget

描述

The Sublanguage plugin is a great toolkit to create multilingual websites. The Sublanguage Switcher Widget
is a plugin which builds a more sophisticated language switcher widget.

Features

  • List view of languages with language names and/or flags
  • List view can displayed horizontally or vertically
  • Selectbox view
  • Hide current language

Credits

  • maximeschoeni for the excellent Sublanguage plugin
  • Chouby / Polylang for the
    comprehensive list of predefined languages in the languages.php file.
  • Most of the flags included are coming from famfamfam and are public domain.

Wherever third party code has been used, credit has been given in the code’s comments.

螢幕截圖

  • Widget configuraton, list options
  • Widget configuration, selectbox options
  • Language switcher displayed in navigation bar and sidebar

安裝

Please install, activate and configure the Sublanguage plugin at first. If you’re familiar with
using sublanguage, e.g. if you have added a language and know how to create articles in multiple
languages, then it’s time to try out Sublanguage_Switcher_Widget.

Then upload and activate the plugin.

You can use the Sublanguage Switcher Widget as any widget available in your WordPress installation.
The Sublanguage Switcher Widget is available in the widgets configuration menu and in the widgets
section in the Customizer. All you have to do is to drag the “Sublanguage Switcher Widget” item
in an available widget zone.

The widget options are self-explanatory, so play around and have fun!

常見問題

Installation Instructions

Please install, activate and configure the Sublanguage plugin at first. If you’re familiar with
using sublanguage, e.g. if you have added a language and know how to create articles in multiple
languages, then it’s time to try out Sublanguage_Switcher_Widget.

Then upload and activate the plugin.

You can use the Sublanguage Switcher Widget as any widget available in your WordPress installation.
The Sublanguage Switcher Widget is available in the widgets configuration menu and in the widgets
section in the Customizer. All you have to do is to drag the “Sublanguage Switcher Widget” item
in an available widget zone.

The widget options are self-explanatory, so play around and have fun!

The language switch is not shown, how do I remove the warning message?

This widget needs the Sublanguage plugin as prerequisite. Please install, activate and configure
Sublanguage, e.g. add a language, write an article in multiple languages and so on.

How can I style or customize the output?

You can use additional CSS to style the widget. All contents are contained in a DOM node with
the class “widget_sublanguage_switcher_widget”. So you’re free to add some styles.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Sublanguage Switcher Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Sublanguage Switcher Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • First release