Skip to main content

I'm trying to translate a WordPress template. I went to language files, then opened that copy with Poedit and started translating to my language (persian). 

After finishing the translation, I changed the WordPress language from the dashboard, but the language didn't change in the Templatetemplate settings panel, it kept beingstays on English. Any idea why this happens?

These are the language instructions from functions.php:

load_theme_textdomain( 'apress', get_template_directory() . '/languages' );

load_theme_textdomain( 'apress', get_template_directory() . '/languages' );

I'm trying to translate a WordPress template. I went to language files, then opened that copy with Poedit and started translating to my language (persian). After finishing the translation, I changed the WordPress language from the dashboard, but the language didn't change in the Template settings panel, it kept being English. Any idea why this happens?

These are the language instructions from functions.php:

load_theme_textdomain( 'apress', get_template_directory() . '/languages' );

I'm trying to translate a WordPress template. I went to language files, then opened that copy with Poedit and started translating to my language (persian). 

After finishing the translation, I changed the WordPress language from the dashboard, but the language didn't change in the template settings panel, it stays on English. Any idea why this happens?

These are the language instructions from functions.php:

load_theme_textdomain( 'apress', get_template_directory() . '/languages' );
Source Link

Language file doesn't work (poeedit)

I'm trying to translate a WordPress template. I went to language files, then opened that copy with Poedit and started translating to my language (persian). After finishing the translation, I changed the WordPress language from the dashboard, but the language didn't change in the Template settings panel, it kept being English. Any idea why this happens?

These are the language instructions from functions.php:

load_theme_textdomain( 'apress', get_template_directory() . '/languages' );