Linux 软件免费装
Banner图

Say what?

开发者 leewillis77
更新时间 2024年4月18日 23:50
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.5

标签

change translation string

下载

0.9 1.9.0 2.1.6 1.0.1 1.1 1.7.1 1.8.0 1.8.1 1.8.2 1.9.2 1.9.3 1.9.4 1.9.5 2.0.1 0.9.1 1.7 1.9.1 1.9.6 1.9.7 2.0.0 2.0.2 0.9.2 2.1.0 1.5 1.6 2.1.1 2.1.2 1.0 1.3 1.4 2.1.3 2.1.4 2.1.7 2.1.8 2.1.9 0.9.3 2.1.5 2.2.1 2.2.2

详情介绍:

An easy-to-use plugin that allows you to change translatable strings from plugins / themes and WordPress core without editing code. Simply enter the current string, and what you want to replace it with and the plugin will automatically do the rest! The plugin's available for forking and contribution over on GitHub Check out Say What Pro for: Support this free plugin As a business, we already donate a percentage of our profits from premium plugins to global climate change projects. You're free to use this plugin free of charge, but if you do, please consider buying the world some trees in return. You'll be creating employment for local families and restoring wildlife habitats.

安装:

屏幕截图:

  • Adding/editing a replacement

常见问题:

Can I use it to change any string?

You can only use the plugin to translate strings which are marked for translation.

How do I find the string to translate?

You can either have a guess, or checkout the plugin in question's source code, translatable strings are generally wrapped in __(), _e(), _n(), or _x(), for example: $foo = __('This is a translatable string', 'plugin-domain'); The article here shows some examples of what you're looking for. Alternatively, the Pro version of the plugin provides a String Discovery mode which means you can search for strings on your site via autocomplete suggestions.

Is there any support for importing replacements?

"Say What?" has preliminary support for exporting, and importing replacements via http://wp-cli.org/. The following commands are currently supported:

  • export - Export all current string replacements.
  • import - Import string replacements from a CSV file.
  • list - Export all current string replacements. Synonym for 'export'.
  • update - update string replacements from a CSV file.
See the GitHub homepage for examples.

Can I set different replacements for different languages?

Not in the free plugin, however this is available in the Pro version of the plugin

更新日志:

2.2.2 2.2.1 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.9.7 1.9.6 1.9.5 1.9.4 1.9.3 1.9.2 1.9.1 1.9.0 1.8.2 1.8.1 1.8.0 1.7.1 1.7 1.6 Introduce filters that allows back compatibility for plugins that change their text-domain. Props Pippin Williamson 1.5 Avoid warnings on initial activation. Avoid issues where strings contain HTML / entities 1.4 Add info box about Pro version 1.3 Support for WP-CLI import and export. 1.2 Swap database to UTF-8 to fix problems entering non-ASCII strings. 1.1 Fix incorrect escaping on the admin screens. 1.0.1 Fix initial DB table creation Fix translations for strings with no domain 1.0 Allow strings with context to be replaced 0.9.3 Documentation improvements 0.9.2 Avoid wpdb->prepare warning Minor admin fixes, don't double translate strings 0.9.1 Fix issue with fields being swapped when first entered 0.9 Beta ready for testing and feedback