Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Po Language files in child theme › Reply To: Po Language files in child theme
September 10, 2014 at 10:38 am
#109023
Watch out the (correct) apostrophes and folder name (where the languages being located): »languages« (WordPress tutorial) and »language« (Neighborhood Theme). This works for me!
<?php
function neighborhood_child_setup() {
load_child_theme_textdomain( 'swiftframework', get_stylesheet_directory() . '/language' );
}
add_action( 'after_setup_theme', 'neighborhood_child_setup' );
?>