Translating a WordPress Plugin on the Command Line Step by Step
…link your plugin into your webroot as I do. Working with WPML, so that the site language isn’t hardcoded in your wp-config.php file and can for instance be selected by your site visitors, is a simple matter of making the load_plugin_textdomain() call in the correct place. See my related article Writing a Plugin That Can Be Localized by WPML for details. Updating Your Translation If you change text in your plugin and want to update your translation…