I’m using a child theme under DT9 and I can’t get it to use the language files in /childtheme/languages/
This is in my child theme functions.php
function __construct(){ // INCLUDE LANGUAGE load_child_theme_textdomain( "childtheme_ChildishTheme", get_stylesheet_directory() . "/languages" );
If I load the en_US.mo and en_US.po file into the parent theme language directory it works fine.
I am not creating a whole translation, just changing a few phrases here and there.
Any ideas for me?
This reply is for PremiumPress customers only.
645
Views
4
Replies
Copyright © 2010-2025 PremiumPress Limited.
I’m using a child theme under DT9 and I can’t get it to use the language files in /childtheme/languages/
This is in my child theme functions.php
If I load the en_US.mo and en_US.po file into the parent theme language directory it works fine.
I am not creating a whole translation, just changing a few phrases here and there.
Any ideas for me?
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now