Say what?

Description

An easy-to-use plugin that allows you to alter strings on your site without editing WordPress core, or plugin 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:

  • String discovery – Don’t have the time/expertise to find strings in the code, set up replacements easily with easy-to-use autocomplete features
  • Wildcard string replacements – replace individual words, or fragments across your whole site
  • Multi-lingual support – set different replacements for different languages on multi-lingual sites
  • Import/export features – Easy import/export of replacements through the user interface

Screenshots

  • Finding a string to replace
  • The admin screen - setting up a replacement
  • The result

Installation

  • Install it as you would any other plugin
  • Activate it
  • Head over to Tools » Text changes and configure some string replacements

FAQ

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

Reviews

Neat and Tidy

I use this plugin to keep away from modifying core files or making custom mo files. It does exactly what it should do by replacing translatable text strings. I may be a bit nerdier than others, but I don’t see how people can low-star this plugin. It does a great job! Thank you!

Nice GUI interface replacement for the “gettext” filter

This is a fantastic plugin that provides a nice GUI interface in the WordPress admin for entering plugin and theme text changes instead of manually using the “gettext” WordPress filter in a functions.php file or custom plugin.

The only thing to be aware of is that you’ll need to have either good documentation from the plugin that contains the string that you’re wanting to change or a working knowledge of where to look to find the correct “text domain” to use (and possibly “text context”) to use.

Not intuitive and quite useless.

Not intuitive and quite useless. Just waste of time. Best String translation should be based on search for term/word and than translate, in what ever directory or category phrase is in. When translation is complete, just save and that is it. This plugin is far from that.

Not PayPal paygate supported?

I am really disappointed as I can’t pay the pro version of this plugin as they don’t “Support Paypal for various reasons” is what they claim. For many people, the favorite payment option is Paypal currently with more than 244 million users. And I am one of those. PayPal can also be used in more than 200 countries. I just can’t believe this plugin doesn’t support it. And Please explain what are your reasons. And I might change my review.

Read all 65 reviews

Contributors & Developers

“Say what?” is open source software. The following people have contributed to this plugin.

Contributors

“Say what?” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Say what?” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.9.1

  • Update information about Pro features

1.9.0

  • Fix issue adding more strings after downgrade from Pro
  • Update text domain of plugin to match wordpress.org guidelines to aid translations

1.8.2

  • Documentation updates only

1.8.1

  • Update plugin links, include settings and upgrade link
  • Update documentation about pro features
  • Admin styling fixes

1.8.0

  • Fix issues where entities could be double encoded on admin screens.

1.7.1

  • Update to admin marketing message. No functional changes.

1.7

  • Support for _n() and _nx()
  • Support for multi-line strings

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