Hello,
When I translate pro theme with instructions provided here with poedit :https://theme.co/apex/forum/t/setup-translation/61.
I add po and mo files to created languages folder where child theme is and after adding this code:
add_action( ‘after_setup_theme’, ‘load_child_language’ );
function load_child_language() {
load_child_theme_textdomain( ‘x’, get_stylesheet_directory() . ‘/languages’ );
I get following error:
Parse error: syntax error, unexpected end of file in /var/www/vhosts/mhealth.lt/httpdocs/wp-content/themes/x-child/functions.php on line 87
I can see that article was last updated December 9, 2016. Maybe I get this error because I use pro, not x-theme?
Lukas