I'm having a hard time trying to use a custom translation for my child theme based on Storefront (WooCommerce)
For some reason, the translation doesn't take effect.
Here is what I did:
- Created a
languages
directory inside the child's theme folder - Put the corresponding personalyzed es_ES.mo & es_ES.po files (based on storefront.pot)
- Edited
functions.php
to read those files:
function my_child_theme_setup() { load_child_theme_textdomain( 'jllorentesstorefront', get_stylesheet_directory() . '/languages' ); } add_action( 'after_setup_theme', 'my_child_theme_setup' );
But nothing happens, it still uses the default Spanish translations, not mine's...
Any ideas, please? Thanks!