Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1356016

    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.

    #1356607

    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

    #1356763

    ok thanks
    Do you mean the changes in the function file or in the other files?

    #1356857

    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

    #1356858

    i found there was an error in a function in the functions.php file. Now it’s ok, thank you very much

    #1356890

    Hey,

    Glad you figured it out!

    Let us know if you have any other questions and enjoy the rest of your day :)

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Problem with some translations of the theme’ is closed to new replies.