Hi,
Today I noticed my site is switched to English laguage. I switched it back to Polish but some translations are not present (despite the fact they are visible in translation file. For example this popup has almost everything in English and should be in Polish.
I store my language files in child theme with following code:
// Load translation files from your child theme instead of the parent theme
load_child_theme_textdomain( 'swiftframework', get_stylesheet_directory() . '/language' );
add_action( 'after_setup_theme', 'my_child_theme_setup' );
function my_child_theme_setup() {
load_child_theme_textdomain( 'woocommerce', get_stylesheet_directory() . '/language' );
}
add_action( 'after_setup_theme', 'my_child_theme_locale' );
This has worked until today. The translation is in the file as here
Please help me fix the issue.
Regards
Bogusz