Title: Override String Translations
Author: Vincenzo
Published: <strong>August 6, 2019</strong>
Last modified: March 22, 2026

---

Search plugins

![](https://ps.w.org/wp-override-translations/assets/icon-256x256.png?rev=2134779)

# Override String Translations

 By [Vincenzo](https://profiles.wordpress.org/vluongo/)

[Download](https://downloads.wordpress.org/plugin/wp-override-translations.zip)

 * [Details](https://wordpress.org/plugins/wp-override-translations/#description)
 * [Reviews](https://wordpress.org/plugins/wp-override-translations/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-override-translations/#installation)
 * [Development](https://wordpress.org/plugins/wp-override-translations/#developers)

 [Support](https://wordpress.org/support/plugin/wp-override-translations/)

## Description

**WP Override Translations** allows you to easily override any text string in WordPress,
WooCommerce, and plugin/theme translations directly from your admin panel – no code
editing required!

**🔒 Security First (v3.0.0)**
 * CSRF protection with WordPress nonces * User capability
validation * XSS prevention with secure coding practices * No inline JavaScript 
handlers

**⚡ High Performance (v3.0.0)**
 * Modern MutationObserver API for DOM changes (
replaces resource-heavy intervals) * Pre-built translation maps for faster processing*
Optimized JavaScript with comprehensive error handling * Graceful fallback for older
browsers

**✨ Key Features:**
 * Override any WordPress core, plugin, or theme text strings*
Full WooCommerce compatibility for e-commerce sites * Support for HTML in translations(
bold, links, etc.) * CSS selector-based DOM string replacement for dynamic content*
Translates all `_e()`, `__()`, `gettext`, and `ngettext` calls * Real-time JavaScript
translation for dynamic elements * WordPress coding standards compliant

**📝 What You Can Translate:**
 * WordPress core strings * WooCommerce product pages,
checkout, cart messages * Plugin and theme text strings * Button labels, error messages,
form fields * Any string that uses WordPress translation functions

**❌ Limitations:**
 Dynamic strings with placeholders like `%s` or `%d` cannot 
be translated (e.g., “%s has been added to your cart”).

## Screenshots

[⌊Original frontend string⌉⌊Original frontend string⌉[

Original frontend string

[⌊Overwrite string from backend⌉⌊Overwrite string from backend⌉[

Overwrite string from backend

[⌊Overwritten string⌉⌊Overwritten string⌉[

Overwritten string

[⌊Original Woocommerce frontend string⌉⌊Original Woocommerce frontend string⌉[

Original Woocommerce frontend string

[⌊Overwrite string from backend⌉⌊Overwrite string from backend⌉[

Overwrite string from backend

[⌊Overwritten Woocommerce string with HTML⌉⌊Overwritten Woocommerce string with 
HTML⌉[

Overwritten Woocommerce string with HTML

## Installation

 1. Upload directory `WP Override String Translations` to the `/wp-content/plugins/`
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Click settings in your plugin list (or visit Settings submenu)
 4. Done!

## FAQ

### How does this plugin work?

It uses a gettext and ngettext WordPress filter

## Reviews

![](https://secure.gravatar.com/avatar/191205eced5f31b961f30b0de26ce2f8a15e468a7128675653a8299fc944a689?
s=60&d=retro&r=g)

### 󠀁[light weight & functional](https://wordpress.org/support/topic/light-weight-functional/)󠁿

 [KJA4U](https://profiles.wordpress.org/kja4u/) November 30, 2022

A great replacement for the outdated well-known plugin “Lucas String Replace”.

![](https://secure.gravatar.com/avatar/86cb165485daa1b0f7e703a972b5ff559af96f6ef1fbb4407861753198b9fd9e?
s=60&d=retro&r=g)

### 󠀁[Does not work with Woocommerce!](https://wordpress.org/support/topic/does-not-work-with-woocommerce-12/)󠁿

 [john1257](https://profiles.wordpress.org/john1257/) February 8, 2022

Does not work with Woocommerce! And when you translate, translated text disappears!
So you don’t know what you translated and what not!

![](https://secure.gravatar.com/avatar/884736c23a862cf69a8b57d35ee4dad98530ef9fdd79a728bcaca6e8e5b7b242?
s=60&d=retro&r=g)

### 󠀁[Super simple and useful](https://wordpress.org/support/topic/super-simple-and-useful/)󠁿

 [cojad](https://profiles.wordpress.org/cojad/) April 11, 2021

Make changes to existed translation string with simplest way. 看到甚麼翻譯不順眼
就直接替換掉, 粗暴又有效. 太棒了

![](https://secure.gravatar.com/avatar/16e9f2548b9baf0c78374ccba867340ac5a6803902004dbdbe7637de5e2d1ebe?
s=60&d=retro&r=g)

### 󠀁[Totally useless](https://wordpress.org/support/topic/totally-useless-20/)󠁿

 [leokand](https://profiles.wordpress.org/leokand/) February 10, 2021

Doesn’t function.

![](https://secure.gravatar.com/avatar/64a8c94fb546437d452f24a2fcd2e101436dce76757c5dc4b68d73bf294d11f0?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-6577/)󠁿

 [dluiso](https://profiles.wordpress.org/dluiso/) December 18, 2020

Anyone does not calculate the functionality of this plugin, after spending days 
looking for how to translate certain words of a website in which I did not want 
to use the rest of the robust plugins for translations by simply changing 4 texts,
I found this plugin and it is well worth it in leave a recommendation, because they
deserve it. Keep moving forward.

![](https://secure.gravatar.com/avatar/75bdf5fb84bb3a1bffb166a83902e547520f804a0ca9e1e39066a60ad28b82ab?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-10040/)󠁿

 [the-webmaster](https://profiles.wordpress.org/the-webmaster/) October 12, 2021

Ce plugin est juste magique, enfin mes traductions récalcitrantes sont faites sur
des plugins impossible à traduire, même avec poedit… Mille Merci au Développeur !
Ce plugin soigne aussi les nerfs 😉

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/wp-override-translations/reviews/)

## Contributors & Developers

“Override String Translations” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Vincenzo ](https://profiles.wordpress.org/vluongo/)

“Override String Translations” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-override-translations/contributors)
for their contributions.

[Translate “Override String Translations” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-override-translations)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-override-translations/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-override-translations/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-override-translations/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-override-translations/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.0.0

 * **MAJOR SECURITY UPDATES**: Added CSRF protection with WordPress nonces
 * **MAJOR PERFORMANCE IMPROVEMENTS**: Replaced setInterval with MutationObserver
   for better browser performance
 * **SECURITY**: Added user capability checks for admin functions
 * **SECURITY**: Removed inline onClick handlers to prevent XSS vulnerabilities
 * **PERFORMANCE**: Pre-built translation maps to eliminate redundant processing
   loops
 * **PERFORMANCE**: Optimized JavaScript error handling with try-catch blocks and
   graceful degradation
 * **STANDARDS**: Fixed all WordPress coding standards violations (variable naming,
   text domains, etc.)
 * **JAVASCRIPT**: Enhanced DOM manipulation with better selector validation
 * **JAVASCRIPT**: Added fallback support for older browsers without MutationObserver
 * **ADMIN**: Improved user interface with proper event listeners instead of inline
   JavaScript
 * **ADMIN**: Added wp_localize_script for secure PHP-to-JavaScript data transfer
 * **TRANSLATION**: Added proper text domain support for all translatable strings
 * **CODE QUALITY**: Comprehensive error handling and logging improvements
 * **COMPATIBILITY**: Maintained backward compatibility while modernizing codebase

#### 2.0.0

 * Improvements for WordPress 6.8 support
 * Add javascript with selector translate
 * Code improvements
 * Code Fixes

#### 1.5.0

 * Support for WordPress 6.x added

#### 1.4.0

 * Support for WordPress 5.9 added
 * Bug fix

#### 1.3.0

 * Support for WordPress 5.8 added
 * Minor bug fix

#### 1.2.1

 * Support for WordPress 5.7 added

#### 1.2.0

 * Bug Fix and added support for WordPress 5.6

#### 1.1.0

 * Compatible with WordPress 5.3
 * bug fix

#### 1.0.0

 * First public release

## Meta

 *  Version **4.0.0**
 *  Last updated **4 months ago**
 *  Active installations **1,000+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.8.6**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/wp-override-translations/) and [French (France)](https://fr.wordpress.org/plugins/wp-override-translations/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-override-translations)
 * Tags
 * [gettext](https://wordpress.org/plugins/tags/gettext/)[ngettext](https://wordpress.org/plugins/tags/ngettext/)
 *  [Advanced View](https://wordpress.org/plugins/wp-override-translations/advanced/)

## Ratings

 3.9 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/wp-override-translations/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-override-translations/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-override-translations/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-override-translations/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/wp-override-translations/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-override-translations/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-override-translations/reviews/)

## Contributors

 *   [ Vincenzo ](https://profiles.wordpress.org/vluongo/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-override-translations/)