Hi I have a problem with a site whose address I attach in private. The site is in Italian and I have set Italian in the backend but for example the breadcramp and the woocommerce filters are in English. Woocommerce is translated well the problem I have it exclusively in your theme which does not take the translations from the po file. Thanks I hope you can help me.
Hey,
Thanks for contacting us!
I temporarily switched to parent theme and breadcrumbs displayed the translation correctly. I attached a screenshot in private content field below.
Issue seems to be related to the modifications done on the child theme.
As a temporary solution, I added following code to bottom of Functions.php file of your child theme to translate “You are here:”
add_filter('avia_breadcrumbs_args', 'av_custom_tax_title', 10, 1);
function av_custom_tax_title($args)
{
$args['before'] = '<span class="breadcrumb-title">' . __( 'Sei in:', 'avia_framework' ) . '</span>';
return $args;
}
Please review your website :)
Best regards,
Yigit
ok thanks
Do you mean the changes in the function file or in the other files?
Hi,
Please firstly try updating header.php file on your child theme. You can simply copy a fresh header.php file from the parent theme, re-apply your modifications on the file and replace it with your current header.php file. Please make sure to have a backup to be on the safe side :)
Best regards,
Yigit
i found there was an error in a function in the functions.php file. Now it’s ok, thank you very much