Directory / plugin

Style Genre

v2.0.0 · by janiko

Customize translated text in WordPress, plugins and themes without modifying translation files.

About this plugin

Style Genre lets you adjust translation wording, for example autrice|auteure, Autrice|Auteure.

Version 2.0 applies substitutions when translated strings are returned by PHP gettext functions or JavaScript wp.i18n functions. No translation files are rewritten and no recurring substitution job is necessary.

Existing substitution rules stored by Style Genre 1.x are preserved.

The replacements are literal, case-sensitive, and occur inside translated strings. They are applied in the order listed. This plugin does not intercept arbitrary text, third-party JavaScript localization systems, or already-rendered HTML.

Plugin tags