前言介紹
- 這款 WordPress 外掛「Set HTML lang attribute per post」是 2015-01-06 上架。
- 目前有 70 個安裝啟用數。
- 上一次更新是 2015-01-11,距離現在已有 3766 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
- 有 3 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
nilsnh |
外掛標籤
內容簡介
這個 WordPress 外掛新增了一個 meta box,讓您可以在每篇文章裡指定 HTML lang 屬性的語言。
此外掛解決的問題
WordPress 允許我們指定全站的語言默認值,如下所示:
當您有多種語言的部落格文章時,會出現以下問題。個人而言,我會用英文或挪威語寫文章,但因為全站的語言設定為英文,所以挪威語的文章中會出現奇怪放置的連字符。
解決方案
解決方案是在需要時新增更具體的 HTML lang 屬性。
例如,這會指定該篇文章是越南語。此外掛會在編輯文章時啟用一個 meta box,讓您可以指定文章的語言。
貢獻
這個外掛是很快做出來的,但請隨時建議改進。例如,此外掛缺乏測試代碼。
授權
版權所有 2014 年 Nils Norman Haukås
本程式是自由軟體;您可以重新散發它或修改它
根據 GNU 通用公眾授權條款第 2 版或(您選擇的)任何後續版本,
這是經由自由軟體基金會所發表的。
本程式分發是希望它有用,
但不提供任何保證;甚至沒有暗示保證適合特定用途,
詳細訊息請參閱 GNU 通用公眾授權條款。
您應該已經收到了 GNU 通用公眾授權條款的副本,
如果沒有,請寫信給自由軟體基金會,地址: 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 美國
原文外掛簡介
This wordpress plugin adds a meta box for specifying html lang=”” language per post.
The problem this plugin solves
WordPress allows us to specify site-wide language defaults like so:
The problem comes about if you have blog posts in various languages. Personally I write posts in either English or Norwegian. And since English is set as the site-wide language posts that are in Norwegian end up looking kinda weird due to weirdly placed - (hyphenations).
Solution
The solution is to add more specific html lang attributes when needed.
For example this specifies that the post is in Vietnamese. This plugin enables a meta box when editing posts where you may specify the post’s language.
Contributing
This plugin was made in a jiffy. But by all means do suggest improvements. For instance the plugin obviously lacks testing code.
Licensing
Copyright 2014 Nils Norman Haukås
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Set HTML lang attribute per post」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Loco Translate 》Loco Translate 提供在瀏覽器中編輯 WordPress 翻譯文件和與自動翻譯服務集成的功能。, 它還為開發人員提供 Gettext/本地化工具,例如提取字符串和生成模板。...。
Polylang 》ts, Polylang is developed by the Polylang team with the help of numerous contributors., If you want to contribute or report an issue, please visit ...。
Translate WordPress with GTranslate 》Translate WordPress with GTranslate外掛使用 Google Translate 自動翻譯服務,讓您的 WordPress 網站多語言化,並發揮 Google 的力量。有103種語言可供選擇...。
Translate WordPress – Google Language Translator 》Google Language Translator 外掛現已經成為 GTranslate 家族的一員!, GTranslate 自 2008 年以來一直是一家領先的網站翻譯服務提供商,為全球超過 500,000 ...。
Translate WordPress and go Multilingual – Weglot 》Weglot Translate是領先的WordPress翻譯外掛,全球有超過60,000個使用者信任。您可以在幾分鐘內將WordPress網站翻譯成110多種語言,無需編碼即可實現多語言。...。
Ray Enterprise Translation 》Ray Enterprise Translation 提供方便的基於雲端的本地化和WordPress翻譯,通過簡化創建和維護多語言網站的過程。其功能包括機器翻譯、專業翻譯和社區翻譯解...。
WPBakery Visual Composer & qTranslate-X 》這個外掛可以讓 qTranslate-X 多語言工具運作於 WPBakery Visual Composer 外掛程式中。, 需要 qTranslate-X 版本 3.3 或者 alpha 預發行版 以上版本。, 這個...。
Translate WordPress with ConveyThis 》ConveyThis Translate 是最精確、最快速、最容易使用的語言外掛,可將您的 WordPress 網站翻譯成超過 120 種語言!安裝 ConveyThis Translate 只需幾個簡單的...。
Bogo 》https://ideasilo.wordpress.com/bogo/, Bogo 是一個簡單易用的 WordPress 多語言插件。, WordPress 自身就具備本地化功能,可以讓您在除英語外的另一種語言...。
Multilingual Contact Form 7 with Polylang 》這個外掛可以通過使用 Polylang 和其字串翻譯功能,在多語言頁面上使用 Contact Form 7 表單。, 與其他解決方案不同,您不需要為每種語言創建一個表單,而是...。
Admin Locale 》這個外掛提供了在網站上以某種語言運行(例如阿拉伯語),並在管理面板中使用另一種語言(例如英語)的能力。, 只需前往「設定」»「一般」,然後選擇您...。
Language Fallback 》從WordPress 4.3開始,您可以在您的WordPress安裝中使用像“Deutsch (Sie)”(正式德語)這樣的語言。但是,如果您使用的主題或外掛沒有這種語言的...。
Multisite Language Switcher 》這是一個簡單、強大且易於使用的 WordPress 多語言外掛程式,可以為 WordPress 多網站 安裝增加多語言支援,例如多個子網域或資料夾(如果您需要跨多個網域建...。
Hreflang Manager – Hreflang Implementation for International SEO 》Hreflang Manager 外掛提供了一個簡單且可靠的方法,在 WordPress 中實現 hreflang 功能。, 要了解 hreflang 的技術用法,請參閱 Google 提供的官方文件。, P...。
Flag Icons 》此外掛可讓您在網站上加入國旗圖示以及可指定的鏈結,可藉由選擇所需的位置或使用簡碼實現。, 第二版支援 Google 翻譯圖示!, 您只需選擇位置、旗幟以及新增...。