Beschrijving
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:
- String Discovery and autocomplete – find the strings you need without diving through code. Works with server-side and Javascript-rendered strings
- Improved performance using text-domain-specific filters
- 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
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.
Installatie
- Installeer hem zoals je elke andere plugin zou installeren
- Activeer het
- Ga naar Tools » Tekstwijzigingen en enkele string vervangingen configureren
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
Beoordelingen
Bijdragers & ontwikkelaars
“Say What?” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“Say What?” is vertaald in 16 talen. Dank voor de vertalers voor hun bijdragen.
Vertaal “Say What?” naar jouw taal.
Interesse in de ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
2.2.6
- Dependency bumps & WordPress compat improvements
2.2.5
- General tidy-ups and maintenance
2.2.4
- Fix: Do not generate warning on initial install
2.2.3
- Change: Internal package updates
- Change: Compatibility with WordPress 6.6
2.2.2
- Fix: Resolve issue where replacements weren’t made if an external object cache was in use.
2.2.1
- Change: Internal refactor of classes
2.1.9
- Change: Minor admin UI changes
2.1.8
- Fix: Include missing image
2.1.7
- Change: Admin UI updates
2.1.6
- Change: Styling & documentation updates.
2.1.5
- Fix: Avoid warning when sorting list table.
2.1.4
- Change: Localisation improvements
2.1.3
- Change: Updates to Javascript dependencies.
2.1.2
- Change: Updates to Javascript dependencies, smaller JS footprint.
2.1.1
- Fix: Resolve issue where console errors could be thrown if no replacements configured.
2.1.0
- New: Optimise performance when an external object cache is available
- Fix: Imports via WP-CLI could fail if the pro extension had previously been active
2.0.2
- Reduce size of bundled images
- Update dev build scripts
2.0.1
- Improve Javascript performance, and remove lodash dependency (resolves some plugin conflicts)
2.0.0
- Support for translatable strings rendered through WordPress Javascript framework
- Supports replacing text in Gutenberg / WooCommerce admin / WooCommerce blocks
- Update details of Say What? Pro vs free plugin
1.9.7
- Fix issue where replacement table disappeared at small screen widths
- Update WordPress compatibility
- Changes to donation / upsell content
1.9.6
- Fix link in documentation
1.9.5
- WordPress 5.5 compatibility
- Changes to Treeware links
1.9.4
- Ensure help links open in new windows
1.9.3
- Fix link target in Treeware content
1.9.2
- Suggest Treeware donations
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
- Ondersteuning voor _n() en _nx()
- Ondersteuning voor meerregelige strings
1.6
Introduceer filters die terugwaartse compatibiliteit toestaan voor plugins die hun tekstdomein wijzigen. Props voor Pippin Williamson
1.5
Vermijd waarschuwingen bij de eerste activering.
Vermijd problemen waarbij strings HTML / entiteiten bevatten
1.4
Infovak over Pro versie toegevoegd
1.3
Ondersteuning voor het importeren en exporteren met WP-CLI.
1.2
Verwissel de database naar UTF-8 om problemen met het invoeren van niet-ASCII strings op te lossen.
1.1
Repareert onjuiste escapes op de beheerdersschermen.
1.0.1
Eerste aanmaak van DB tabel herstellen
Vertalingen repareren voor strings zonder domein
1.0
Toestaan dat strings met context worden vervangen
0.9.3
Documentatie verbeteringen
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


