[WordPress] 外掛分享: Convert PT AO90 for GlotPress

WordPress 外掛 Convert PT AO90 for GlotPress 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Convert PT AO90 for GlotPress」是 2021-12-02 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2024-11-06,距離現在已有 178 天。
  • 外掛最低要求 WordPress 5.3 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

pedromendonca |

外掛標籤

AO90 | glotpress | Portuguese | translation | localization |

內容簡介

這個 WordPress 外掛針對 GlotPress 的預設行為進行客製化,允許你自動將已核准/目前的葡萄牙(葡萄牙)字串轉換為葡萄牙 (葡萄牙 AO90) 的變體。

它會自動轉換並同步葡萄牙 (葡萄牙) 的根翻譯與葡萄牙 (葡萄牙 AO90) 的變體翻譯。

只有與葡萄牙 (葡萄牙) 根翻譯不同的翻譯會被添加到葡萄牙 (葡萄牙 AO90) 的變體翻譯集中。

不需要轉換的字串仍然保持未翻譯狀態,並回到根 Locale。

這個外掛靈感來自於塞爾維亞語(Serbian)拉丁(Latin)對 translate.wordpress.org 塞爾維亞語(塞爾維亞語西里爾字母)语言翻译的音译处理方案。

語言轉換使用了開源工具Convert PT AO90來替換一個預先構建的單詞列表中的整個單詞。

特點

檢查是否存在活躍的GlotPress.
檢查是否存在pt根譯本和pt-ao90變體翻譯集。
轉換current葡萄牙(葡萄牙)根翻譯,並添加到葡萄牙(葡萄牙 AO90)變體翻譯。
刪除變體中未使用的翻譯,而非保留為rejected, fuzzy, old 狀態。
如果添加了新的根翻譯(相同的original_id)而且不需要轉換的話,則刪除current變體翻譯。
強調自動轉換文本中的差異。

要求

支援變體(Variants)的GlotPress 3.0.0-alpha。

翻譯集(根):Portuguese (Portugal)

Locale = pt;
Slug = default;

翻譯集(變體):Portuguese (Portugal, AO90)

Locale = pt-ao90;
Slug = default;

原文外掛簡介

This plugin for GlotPress customizes the default behavior of the Portuguese (Portugal) Locales, allowing you to automatically convert the approved/current strings in Portuguese (Portugal) to its variant of Portuguese (Portugal, AO90).
It keeps the Portuguese (Portugal) root translations automatically converted and synced with its Portuguese (Portugal, AO90) variant translations within your GlotPress install.
Optionally it’s possible to disable the Portuguese (Portugal, AO90) variant translations editing, approval and importing, making it read-only.
The only translations added to the Portuguese (Portugal, AO90) variant translation set are those which are different from the Portuguese (Portugal) root translation.
The strings that don’t need any conversion remain untranslated on the variant, falling back to the root Locale.
This plugin was heavily inspired by the Serbian Latin solution for transliteration of Serbian Cyrillic locale from translate.wordpress.org.
The language conversion uses the open source tool Convert PT AO90 to replace entire words from a prebuilt list.
Features

Check for active GlotPress.
Check for existent pt root and pt-ao90 variant translation sets.
Convert current Portuguese (Portugal) root translations and add to the Portuguese (Portugal, AO90) variant translations.
Delete variant unused translations instead of keeping as rejected, fuzzy, old.
Delete current variant translation if a new root translation (same original_id) is added and doesn’t need conversion.
Sync button for GlotPress administrators to force convert the complete translation from root set to variant set.
Highlight the differences in the automatically converted texts.
Read-only mode: Use the filter gp_convert_pt_ao90_edit to disable editing, approval and importing translations in the pt-ao90 variant.
Optionally you can always save the translations to the Variant, this overrides the fallback to the root Locale. Return true in the new filter gp_convert_pt_ao90_always_create_variant_translation.
Conversion highlight: Use the filter gp_convert_pt_ao90_showdiff to optionally disable the conversion diff highlight.
Supports GlotPress 3.0.0-alpha.4, with the real variants and fallback feature.
Supports GlotPress 4.0.0 (current development), without the real variants and fallback feature.
Supports Traduttore for also schedule the language-pack build for the converted variant.

Requirements

GlotPress 3.0.0-alpha.4 with Variants support.

GlotPress 4.0.0 without Variants support.

Translation set (root): Portuguese (Portugal)

Locale = pt;
Slug = default;

Translation set (variant): Portuguese (Portugal, AO90)

Locale = pt-ao90;
Slug = default;

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Convert PT AO90 for GlotPress」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.1.0 | 1.1.1 | 1.2.0 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.2.5 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.4.0 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.4 | 1.4.5 | 1.4.6 | 1.4.7 | 1.4.8 | 1.4.9 | 1.5.0 | trunk | 1.4.10 |

延伸相關外掛(你可能也想知道)

  • Localize WordPress 》這個外掛能夠讓你將 WordPress 安裝語言切換為在 GlotPress 上提供的任何語言。, 一些功能包括:, , 無需 gettext 編譯器!, 完成所有繁瑣的編輯 wp-config.p...。
  • GP Remove Powered By 》這是一個針對將 GlotPress 安裝成 WordPress 外掛 所開發的外掛,它可以移除頁尾的「Powered By」。。
  • GP Single Click Edit 》一個針對GlotPress作為WordPress外掛的插件,允許您透過單擊翻譯行來打開編輯器。。
  • GP Download Name 》這是一個針對GlotPress的外掛程式,可以使用可自訂的範本來命名下載檔案名稱。, 只需安裝、啟用並透過 WordPress 設定選單進行設定即可。, 註:此外掛程式需...。
  • GP Additional Links 》這是一個針對 GlotPress WordPress 外掛 的插件,會在 GlotPress 頁面中為管理員加入一個連結至 WordPress 儀表板,同時也會在 WordPress 管理選單中加入一個...。
  • GP Use Slug for Downloads 》這是一個針對 GlotPress WordPress 外掛 的插件,它會將翻譯資料的譯集別名用作下載檔案的名稱。。
  • GlotPress – Translation Propagation 》此外掛原為GlotPress的一部分,現在已經可以作為獨立的外掛下載使用。。
  • GP Require Login 》這是一個針對 GlotPress 的外掛程式,會將未登入的使用者自動導向至登入頁面。, 只需安裝啟用即可,無需額外的設定。。
  • GP Remove Projects from Breadcrumbs 》這是一個針對在 WordPress 上使用的 GlotPress 外掛,主要是為了從面包屑導覽中移除頂部級別的“項目”連結。。
  • GP Project Contributors 》這是一個針對 GlotPress 的 WordPress 外掛,可以透過 shortcode 建立一個格式化的貢獻者清單,列出該 GlotPress 專案的貢獻者。。
  • GP New Window for External Links 》這是一個針對 GlotPress WordPress 外掛的外掛程式,可讓外部連結在新視窗開啟。。
  • GP Machine Translate 》一個針對 作為 WordPress 外掛的 GlotPress 機器翻譯外掛。, 支援四個機器翻譯服務供應商 (但同時只能使用其中一個):, , Google 翻譯(每字元付費), Micr...。
  • GP Last Update 》這是一個針對GlotPress的WordPress外掛,它會在翻譯集列表中新增一個欄位,顯示最後更新的時間。該外掛的原始碼可以在 https://github.com/GlotPress/GlotPre...。
  • GP Integration 》GlotPress 是一個管理和協同翻譯專案的好工具,而搭配 GP Integration 外掛使用更是如虎添翼!, 還沒有安裝 GlotPress 嗎?想要更簡單的方式嗎?請看 Glot-O-...。
  • GP Import Translations from wordress.org 》這是一款針對 GlotPress WordPress 外掛 的插件,可匯入來自 wordpress.org 翻譯站點的語言檔案。, 僅需一個點擊,即可將 translate.wordpress.org 上的翻譯...。

文章
Filter
Apply Filters
Mastodon