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
- 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
- Install it as you would any other plugin
- Activate it
- Head over to Tools » Text changes and configure some string replacements
- 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
- 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
It was one of the best plugin in WordPress history but now they changed the way of work.
It was capable to change any word to any word, now they make it string changer and you have to know the exact string and string domain to change it. So where’s the easiness and usability ?
They say now, if you want that capability back, you have to pay?!
This is a excellent plugin and something I use a lot to change strings of text quickly and easily without having lots of functions in place to do the job.
Many thanks for sharing Lee.
Unless you want to learn an entire new side of wordpress, you need the PAID version
Fonctionne très bien. Plugin pratique
This plugin is simple to use. However, determining which String you actually want to replace is not so simple… I upgraded to the Pro version and it made it super simple to determine which String to actually use! (Pro version is well worth the low cost!)
I was just trying to change one or two strings in WooCommerce, but using Loco Translate no matter where I stored the files in WooCommerce or WordPress, the translations didn’t show up.
After hours of struggling with different options, I decided to give Say what? a try. In minutes, I was done!
Thanks, Lee! Now I can get on with my life. 🙂
Contributors & Developers
“Say what?” is open source software. The following people have contributed to this plugin.Contributors
- Fix issue adding more strings after downgrade from Pro
- Update text domain of plugin to match wordpress.org guidelines to aid translations
- Documentation updates only
- Update plugin links, include settings and upgrade link
- Update documentation about pro features
- Admin styling fixes
- Fix issues where entities could be double encoded on admin screens.
- Update to admin marketing message. No functional changes.
- Support for _n() and _nx()
- Support for multi-line strings
Introduce filters that allows back compatibility for plugins that change their text-domain. Props Pippin Williamson
Avoid warnings on initial activation.
Avoid issues where strings contain HTML / entities
Add info box about Pro version
Support for WP-CLI import and export.
Swap database to UTF-8 to fix problems entering non-ASCII strings.
Fix incorrect escaping on the admin screens.
Fix initial DB table creation
Fix translations for strings with no domain
Allow strings with context to be replaced
Avoid wpdb->prepare warning
Minor admin fixes, don’t double translate strings
Fix issue with fields being swapped when first entered
Beta ready for testing and feedback