Italian translation of Course Builder strings
-
Hello.
I premise that I was studying the possibility of completing the Italian translation of the plugin and I noticed that the following file with the translation included in the “languages” folder of the plugin:
and that is loaded from this line:
It contains only a fraction of the strings and is not as complete as the file “masterstudy-lms-learning-management-system-it_IT-8862261a52990a43f517a9d6a3334755.json” that is generated by translate.www.remarpro.com and uploaded to the following general folder of the WordPress installation:
wp-content/languages/plugins/
To load this file instead of the one included in the plugin you need to change the previous line from:
wp_set_script_translations( ‘ms-lms-course-builder’, ‘masterstudy-lms-learning-management-system’, MS_LMS_PATH . ‘/languages’ );
to:
wp_set_script_translations( ‘ms-lms-course-builder’, ‘masterstudy-lms-learning-management-system’ );
In this way, the Italian translation of the Course Builder is displayed and is complete because the file with the translated strings on translate.www.remarpro.com is used and not those of the file included directly in the plugin
Thank you.
- The topic ‘Italian translation of Course Builder strings’ is closed to new replies.