Language trouble – but child theme uploads OK
-
Hi,
I’m blind – why does this not work?
I changed the languages files to Norwegian with PoEdit, saved them as nb_NO.mo /nb_NO.po – and put labguage files in a new folder:
hueman-child/languages/Read about language settings in child themes on WP and…
Changed functions.php in hueman-child folder to this:<?php /** * Setup My Child Theme's textdomain. * * Declare textdomain for this child theme. * Translations can be filed in the /languages/ directory. */ function my_child_theme_setup() { load_child_theme_textdomain( 'hueman-child', get_stylesheet_directory() . '/languages' ); } add_action( 'after_setup_theme', 'my_child_theme_setup' ); ?>
— The child theme uploads fine, but it’s still in english. What am I not getting? I’m going nuts!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Language trouble – but child theme uploads OK’ is closed to new replies.