前言介紹
- 這款 WordPress 外掛「Translate Words」是 2021-04-29 上架。
- 目前有 4000 個安裝啟用數。
- 上一次更新是 2024-02-06,距離現在已有 453 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.9.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 有 18 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
gettext | ngettext | translate | string translations |
內容簡介
使用這個外掛,你可以自定義想要翻譯的原生 WordPress 外掛或主題文字。
這個外掛不僅可以翻譯原始外掛或主題文字,還可以翻譯已經存在的翻譯文本。例如,如果你正在使用主題的德文翻譯,你可以把已翻譯的文本更改成更適合你網站的文本。
你還可以把 WordPress 的核心文本改成其他任何文本。例如,你可能想把「More Posts」改成「More Articles」或「More Stories」等等。
你的翻譯文本可以替代包含 HTML 元素的文本字符串。例如當你想添加連結或讓部分文本加粗/斜體時,這個功能就特別有用。
這個外掛不會翻譯使用 %s 或 %d 的動態文本字符串,所以類似「%s 已經加入您的購物車。」這樣的字符串不可翻譯。
這個外掛源自其他外掛,包括 WP Override Translations 和 Gettext override translations。
使用方法
安裝並啟用外掛。
前往「設定」>「Translate Words」。
在「Current」方塊中輸入你想要翻譯的主題或外掛文字。
在「New」方塊中輸入你想要使用的新文本。
點擊儲存。
注意:此外掛無法用於文章內容,它僅適用於使用 gettext 函數傳遞的文本。
原文外掛簡介
Translate words used in plugins and themes with the text of your choice.
This plugin allows you to translate the original plugin/ theme text AND the translations that have been created. For example if you’re using the German translation of a theme, you can then change the translated text to something that fits your website better.
You can also change the core WordPress text to something else. For example you might wants to change ‘More Posts’ to ‘More Articles’ or ‘More Stories’.
Your translated text can replace strings with text containing HTML. This works well when you want to add links, or make part of the text bold/ italic.
It will NOT translate dynamic strings that use %s or %d, so “%s has been added to your cart.” is not translatable.
Inspired by these plugins
I made Translated Words because I wanted a very simple plugin that worked the way I wanted, to do this I forked WP Override Translations. I later found out that WP Override Translations is a fork of Gettext override translations.
Usage
Install and activate the plugin
Go to Settings > Translate Words
Enter text found in your theme/ plugins in the ‘Current’ box.
Enter the text you want to use in the ‘New’ box.
Hit save.
Note: This does not work with post content, it is only for text passsed through the gettext functions.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Translate Words」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WP Override String Translations 》此外掛允許您在管理面板中覆寫預設文本。, 此外掛將交易 WooCommerce 文字、WordPress 核心文字以及其外掛或小工具。, , 此外掛還允許您使用由 HTML 組成的文...。
Replace Default Words 》這個外掛可以幫助您替換WordPress核心、主題和外掛中的單詞。, 注意:外掛和主題必須擁有語言文件才能使用“替換默認單詞”進行編輯, 語言, , 波斯語 - Iran ce...。