WP Manifestindependent plugin directory
manifest / i18n / textdomain-overwrite

Textdomain Overwrite

A simple plugin which enables a user to overwrite localization string from the WordPress core, plugins and themes, using it's own language files

by Bernhard Kau · github.com/2ndkauboy/textdomain-overwrite

27stars
5forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/2ndkauboy/textdomain-overwrite/archive/refs/heads/master.zip

From the readme

textdomain-overwrite A simple plugin which enables a user to overwrite localization string from the WordPress core, plugins and themes, using it's own language files Usage Just create a subfolder named overwrites in the WPLANGDIR folder (most probably /wp-content/languages). The plugin does not distinguish if a mofile is used by a plugin, theme or even the core. ~Just name it after the textdomain, followed by the locale, separated with a dash. This is how your folder structure might look like, if you overwrite the core, the jetpack plugin and the twentythirteen theme for the locale deDE: All files must be prepended with the name of the textdomain. The textdomain for the core is default. It is not recommended to use the functionality of this plugin to overwrite a complete language file by simply copy-pasting it to forementioned folder structure. Instead it is suggested to create a new .po-file for the desired textdomain containing only those strings and their translations that would differ from the original translation file. Schematic example: original .po-file string - translation your new .po-file string - your custom translation For the exact lineup of the .po-

Read the full README on GitHub →