function wpsolr_after_setup_theme() { // Load active extensions WpSolrExtensions::load(); /* * Load WPSOLR text domain to the Wordpress languages plugin directory (WP_LANG_DIR/plugins) * Copy your .mo files there * Example: /htdocs/wp-includes/languages/plugins/wpsolr-fr_FR.mo or /htdocs/wp-content/languages/plugins/wpsolr-fr_FR.mo * You can find our template file in this plugin's /languages/wpsolr.pot file */ load_plugin_textdomain('wpsolr', false, false); /** * Load dynamic string translations */ if (is_admin()) { // Load all string translations for all data managed by all extensions WpSolrExtensions::extract_strings_to_translate_for_all_extensions(); } }