Found a solution that works for me:
add_action( \'after_setup_theme\', \'avia_lang_setup\' );
function avia_lang_setup() {
$lang = apply_filters(\'parent-theme-slug\', get_template_directory() . \'/lang\');
load_theme_textdomain(\'avia_framework\', $lang);
load_child_theme_textdomain( \'child-theme-text-domain\', get_stylesheet_directory() . \'/lang\' );
}
Note:Exchange“父主题slug”(通常是小写字母的父主题名称)和“子主题文本域”(您选择的子主题文本域)