Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

weeix on "[Plugin: Polylang] Missing translation for my-theme/sub-folder/file.php"

$
0
0

Oh yes I forgot to tell you that I loaded the text domain in the child theme with these codes in function.php :

add_action( 'after_setup_theme', 'overwrite_settings' );

function overwrite_settings() {
	load_theme_textdomain('proyecto', get_template_directory() . '/lang'); // Fix Parent Theme Localization
	load_child_theme_textdomain( 'hynae', get_stylesheet_directory() . '/languages' ); // Child Theme Localization
}

I'll try to fix it in the child theme and come back here to report.

Thanks for all your hardwork. I really appreciate it.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>