How to create MO files from PO files for WordPress on Linux

Linux

Using WP-CLI you can create MO files from PO files using the following command:

sudo -u MYUSER /usr/local/bin/wp i18n make-mo /var/www/website.be/web/wp-content/plugins/myplugin/languages