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

Gettext override translations

描述

Lets you override default texts from your admin panel.
Originally built to override texts from Woocommerce, but also works for all neatly added texts by WordPress Core and plugins.

It will translate all _e(”) or __(”) string calls, so check the PHP sourcecode of the plugin or theme you need to translate.

It will NOT translate any dynamic strings like %s or %d, so “%s has been added to your cart.” is not translatable.

It will NOT translate any strings that contain HTML tags at all.

Some WooCommerce examples:
WooCommerce “Select option” (dropdown value) setting
Fullscreen Screenshot 3
WooCommerce “Select option” (dropdown value) translation result
Fullscreen Screenshot 4
WooCommerce “Order notes” setting
Fullscreen Screenshot 5
WooCommerce “Order notes” translation result
Fullscreen Screenshot 6

Coding by: MijnPress.nl Twitter profile More plugins

螢幕截圖

安裝

  1. Upload directory Gettext override translations to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Click settings in your plugin list (or visit plugin submenu)
  4. You are ready to go!

常見問題

How does this plugin work?

It uses a gettext WordPress filter

I have a lot of questions and I want support where can I go?

http://pluginsupport.mijnpress.nl/ or drop me a tweet to notify me of your support topic over here.
I always check my tweets, so mention my name with @ramonfincken and your problem.

評價

2022年3月12日
Hi, really like the plugin, but I think it's weird to have it located in the plugins submenu of the WordPress menu. Maybe it's better to move it to tools/settings submenu? Keep up the good work!
2021年6月10日
I'm so happy to found this plugin! It just works perfectly! Thank you! It looks a bit buggy, but only visually, and it's not the problem at all to me. This image .../wp-content/plugins/gettext-override-translations/img/delete.png is in the wrong place. Delete image "X" is below the "Original (translated) text", so all text fields are moved to one place on the right side. Noobs will be confused, so will be best to fix that. Maybe to relocate the delete button next to the checkbox "protect settings". I hope I explained the problem understandable. Thanks again!
2017年2月24日
After trying several other alternatives which took me hours of testing and getting frustrated, this little plugin simply works! At least in woocommerce, others I have not tried. Thanks for this and keep up the good work.
2016年9月3日
In a WooCommerce shop for one of my customers I edited the .po file to change the default text into a more informal text. With every WooCommerce update the changes were gone and I needed to upload the files again. With this plugin I don't have to do that anymore. It's perfect if you want to translate / change (a few) strings in a plugin. Thank you!
閱讀全部7個評價

貢獻者及開發者

“Gettext override translations” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Gettext override translations 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

2.0.2

Bugfix: Improved for stored values 2.0.0

2.0.1

Bugfix: Improved for stored values 2.0.0

2.0.0

Bugfix: Fixed potential XSS input, by stripping all evil HTML.

1.0.1

Bugfix: Small PHP warning fixed

1.0.0

First public release