Translate WP Courseware
-
Is Loco Translate able to work with WP Courseware ?
The translated strings does not show up on the frontend.
Everything is latest version.
WP lang is not defined in wp-config.php.
WP language is set to Danish; da_DKIn wp-courseware.php the plugin loads translation support like this:
// Load translation support $domain = 'wp_courseware'; // This is the translation locale. // Check the WordPress language directory for /wp-content/languages/wp_courseware/wp_courseware-en_US.mo first $locale = apply_filters('plugin_locale', get_locale(), $domain); load_textdomain($domain, WP_LANG_DIR.'/wp_courseware/'.$domain.'-'. $locale.'.mo'); // Then load the plugin version load_plugin_textdomain($domain, FALSE, dirname(plugin_basename(__FILE__)).'/language/'); // Run setup WPCW_plugin_setup(false);
The path on my server is /wp-content/languages/plugins/wp-courseware-da_DK.mo
wp-courseware-da_DK.mo has been generated by Loco Translate
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Translate WP Courseware’ is closed to new replies.