Translate words used in plugins and themes with the text of your choice.
This plugin allows you to translate the original plugin/ theme text AND the translations that have been created. For example if you’re using the German translation of a theme, you can then change the translated text to something that fits your website better.
You can also change the core WordPress text to something else. For example you might wants to change ‘More Posts’ to ‘More Articles’ or ‘More Stories’.
Your translated text can replace strings with text containing HTML. This works well when you want to add links, or make part of the text bold/ italic.
It will NOT translate dynamic strings that use %s or %d, so “%s has been added to your cart.” is not translatable.
Inspired by these plugins
I made Translated Words because I wanted a very simple plugin that worked the way I wanted, to do this I forked WP Override Translations. I later found out that WP Override Translations is a fork of Gettext override translations.
- Install and activate the plugin
- Go to Settings > Translate Words
- Enter text found in your theme/ plugins in the ‘Current’ box.
- Enter the text you want to use in the ‘New’ box.
- Hit save.
Note: This does not work with post content, it is only for text passsed through the gettext functions.
Bijdragers & ontwikkelaars
“Translate Words” is open source software. De volgende personen hebben bijgedragen aan deze plugin.Bijdragers
1.2.1 – 22nd May 2022
- Fix issue with new translations not saving properly.
- Reduce duplication further (and remove the liklihood of this bug from re-appearing).
1.2.0 – 24th January 2022
- Fix bug with the remove button not working. Thanks @capbussat for the suggested fix and others for the reports!
1.1.1 – 23rd November 2021
- Escape js output.
1.1 – 23rd November 2021
1.0.2 – 3rd May 2021
- Update register_setting to use updated properties.
- Fix translation string replacement.
1.0.1 – 30th April 2021
- Simplify code for string replacement. Now uses pure PHP functions rather than loops and multiple str_replace. Shorter code and hopefully a little faster.
1.0.0 – 30th April 2021
- First release