I've included the following function into the child theme's function.php file in order to load translation files from the child theme's language directory:
add_action( 'after_setup_theme', 'generatepress_child_setup' );
function generatepress_child_setup() {
load_child_theme_textdomain( 'generatepress-child', get_stylesheet_directory() . '/languages' );
}
However, the translation files only load from the parent theme and not from the child. What could be the cause? I have the files bg_BG.mo and bg_BG.po into the child theme's languages folder.