LifterLMS will load translation files from the WordPress Language directory first (defaults to
wp-content/languages, but will respect any path customizations to the location of the language directory on your server), and will then load any core language files from LifterLMS itself.
To load a custom language file, create a directory at
wp-content/languages/lifterlms/ and upload your .po and .mo files in the following format:
lifterlms-en_US where “en_US” is your translations locale string.
All of the official LifterLMS add-ons will also load translations from the directory at
Translation files should be named using the add-on’s text-domain followed by a dash and then the locale string/
For example, LifterLMS WooCommerce’s file should be named
lifterlms-woocommerce-en_US.mo where “en_US” is your chosen locale string.
See the intended directory structure of language files is as follows:
wp-content/ | +-- languages/ (WordPress default language directory) | | | +-- en_US.mo | +-- en_US.po | +-- lifterlms/ (Add your custom LifterLMS language files here) | | | +-- lifterlms-en_US.mo | +-- lifterlms-en_US.po | +-- plugins/ | | | +-- lifterlms.php | +-- languages/ (core language files) | | | +-- lifterlms-en_US.mo | +-- lifterlms-en_US.po | +-- lifterlms-addon-en_US.mo | +-- lifterlms-addon-en_US.po | +-- ... | +-- themes | +-- uploads