How to do translations in WordPress?

I’d recommend you using Loco Translate plugin to create a translation. If you are creating a theme, you should specify the Text Domain and Domain Path in your style.css file. /* Theme Name: My Theme Name Author: My Name Author URI: http://sample.url Description: Your theme description Version: 1.0.0 Text Domain: mydomain Domain Path: /lang */ … Read more

Securing langugae folder

The short answer is to use the location wp-content/languages/woocommerce/ to store custom translations. See WooCommerce documentation. This location should be safe from all WordPress updates. Folders parallel to languages/plugins and languages/themes will not be modified. To your specific questions: is there a way to make whole wp-content/languages folder safe for updating? You can control automatic … Read more