My theme is not translated

Question

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

0
Viral Universe 3 months 2020-12-31T06:11:08-05:00 0 Answers 2 views 0

Leave an answer

Browse
Browse