My theme is not translated


I have translated the po file and uploaded the mo and po files in the languages folder with the language code file name. But translation is not loading
Here is the function file code:

if( is_dir( get_stylesheet_directory() . '/languages' ) ) {
    load_theme_textdomain('adifier', get_stylesheet_directory() . '/languages');
} else{
    load_theme_textdomain('adifier', get_template_directory() . '/languages');

enter image description here

Viral Universe 4 weeks 0 Answers 2 views 0

Leave an answer