內容簡介
這是一個 WordPress 插件,可以讓你將任何文章類型翻譯成其他語言。
使用者特點包括可以在多種語言之間切換,並在單個內容視圖上進行翻譯。因此,一個頁面可以被翻譯成 X 種語言。
開發所選擇的架構完全符合 WordPress 3.0,我們建立了一個內容類型翻譯,並為網站語言創建了一個分類法。
我們定制了 WordPress 管理介面以提供翻譯功能,使用了一些 AJAX 使界面更方便。最後,我們創建了一個小工具,顯示當前內容可用的語言。
插件自動創建了一個翻譯人員角色,允許該角色的使用者僅創建和管理翻譯。
插件提供了設置選項:
- 自動在文章末尾插入可用語言。
- 語言檢測 URL:通過地址中的 “lang” 參數或從地址開頭開始的前綴:
- http://www.herewithme.fr/contenu/?lang=de
- 或 http://www.herewithme.fr/de/contenu
- 在他們選擇的文章類型上啟用翻譯。
- 翻譯機制有 2 種模式,將在常見問題解答中解釋。
外掛標籤
開發者團隊
原文外掛簡介
A plugin for WordPress that allow to translate any post type in another languages.
The user features can be summarized in the ability to switch between multiple languages and on the single view of content. Thus, a page can be translated in X languages.
The architecture chosen for development is fully consistent with WordPress 3.0, we created a content type translation, and we created a taxonomy for the site languages.
We customized the WordPress admin console to provide the translation functionality, a bit of AJAX to make the convenient interface. Finally, we created a widget that displays the languages available for the currently loaded content.
A translator role is automatically created with the plugin, it allows a user to this role only to create and manage translations.
The plugin offers settings:
Automatic insertion of languages available to the end of the article
Language detection URL : via a “lang” parameter in the address or via a prefix beginning of the address:
http://www.herewithme.fr/contenu/?lang=de
or http://www.herewithme.fr/de/contenu
Enabling translations on their choice of post types
2 modes for the translation mechanism, which I will explain in FAQ.
