Answer the question
In order to leave comments, you need to log in
Template localization does not always work, why?
I am localizing the template into Russian.
Through PoEdit I created a localization file, added to functions.php
add_action( 'after_setup_theme', 'my_theme_setup' );
function my_theme_setup() {
load_theme_textdomain( 'themename', get_template_directory() . '/lang' );
}
__( 'Knowledge Base, 'themename' )
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question