=== RM24 Text Replacer ===
Contributors: agenturroth
Tags: text replacer, woocommerce, translation, gettext, string replace
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Replace texts, terms and default labels of WordPress, WooCommerce and other plugins on the fly – without editing language files.

== Description ==

**RM24 Text Replacer** lets you change any text that WordPress, WooCommerce, your theme or your plugins output through their translations – directly in the admin area.

There is no need to edit `.po`/`.mo` files or to write custom filter code whenever a wording should be different, and your changes survive all updates.

= Common use cases =
* Change WooCommerce button labels and shop notices.
* Use your own terminology across the storefront, e.g. Swiss spelling.
* Adjust plugin texts without losing the change on the next update.

= Features =
* **Whole words only:** a rule never changes parts of longer words.
* **Fast:** rules are loaded once per request and checked with a quick pre-filter.
* **Unlimited rules:** add, edit or remove as many replacement pairs as you need.
* **Clean interface:** under RM24 → Text Replacer, together with all other RM24 plugins.
* **Translations:** German, French and Italian (English is the base language).

= RM24 Text Replacer PRO =
The separate PRO add-on (available at [rm24.ch](https://rm24.ch/produkt/rm24-text-replacer-woocommerce-wp-text-editor/)) adds a CSV import for many terms at once and lets each rule apply to the frontend, the backend or everywhere. This free plugin is fully functional on its own.

== Installation ==

1. Install the plugin through Plugins → Add New, or upload the plugin folder to `/wp-content/plugins/`.
2. Activate the plugin.
3. Go to RM24 → Text Replacer.
4. Enter the original text and the new text, then click "Save changes". The replacements apply immediately.

== Frequently Asked Questions ==

= Does this plugin change theme or plugin files? =
No. It works through the standard WordPress translation filters (`gettext`, `ngettext` and their context variants). All files stay untouched and update-safe.

= Does it work with WooCommerce? =
Yes. All WooCommerce texts that pass through the WordPress translation functions can be replaced.

= Why is a text not replaced? =
Only texts that are output through the WordPress translation functions can be replaced. Texts that are typed into pages, posts or product descriptions are not affected – edit them where they were written.

== External services ==

The RM24 overview page (RM24 → Overview) can show a list of further RM24 plugins. The list is only loaded after you click "Show more RM24 plugins". It is then requested from https://rm24.ch/plugin_updates/modules.json and cached for 12 hours. No data about your site, your shop or its customers is sent; the request only contains the data every web request contains (such as your server's IP address).

The service is provided by RM24 | Roger Roth: [Terms and privacy policy](https://rm24.ch/datenschutzerklaerung/).

== Changelog ==

= 1.0.5 =
* New shared RM24 menu with an overview of all installed RM24 plugins.
* Whole-word matching now also works correctly next to umlauts and accented letters.
* Replacements also apply to texts with context (`_x()`, `_nx()`).
* Faster: rules are prepared once per request and checked with a quick pre-filter.
* English base language with German, French and Italian translations.
* Cleaner settings page; scripts and styles are loaded only on that page.

= 1.0.1 =
* Moved the settings to the RM24 menu.

= 1.0.0 =
* Initial public release in the official WordPress.org plugin directory.
