Translate Words

Beschreibung

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.

Usage

  1. Install and activate the plugin
  2. Go to Settings > Translate Words
  3. Enter text found in your theme/ plugins in the ‚Current‘ box.
  4. Enter the text you want to use in the ‚New‘ box.
  5. Hit save.

Note: This does not work with post content, it is only for text passsed through the gettext functions.

Screenshots

  • An example translating an English word to a different phrase.

Rezensionen

24. Januar 2022
Translate Words works fine and is easy to use. It works re - translates the translation for each language that you see in the website. I am using another plugin 'Preferred Languages', which allows to have different locale languages assigned to users. Is simple but, if you have to translate to several languages Then you have to translate each 'translation word' for each language separately because there is no way to link them. Nevertheless, I recommend it if you need to improve only a few words for themes and plugins. Just 'remove' option does not work, because file js/main.js is not enqueue correctly . I have found out that you need just to correct file administration.php inside function 'tww_translate_gutenberg_string' I have added wp_enqueue_script( 'TWW_TRANSLATIONS_JS', TWW_PLUGINS_DIR . 'js/main.js', array( 'jquery' ));
31. Oktober 2021
This plugin made it so easy to make small edits to Japanese translations on my site. Simple interface, just input the word you want to change and the replacement, and save.
9. September 2021
We send our customers to this plugin when they want to make simple changes to text in our plugin. This plugin is delightfully lightweight and works great!
23. Juni 2021
Just what I needed. If possible to add a JSON import/export for the settings, that would be amazing.
Alle 4 Rezensionen lesen

Mitwirkende & Entwickler

„Translate Words“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „Translate Words“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.1.1 – 23rd November 2021

  • Escape js output.

1.1 – 23rd November 2021

  • Add support for translating Gutenberg editor strings that use the new(ish) JavaScript localisation.

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