Home Forums WoodMart support forum Translation issues

Translation issues

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #179033

    IUW
    Participant

    Hello, I have some translation issues in a multilanguage website. I’m using Loco Translate and Polylang:

    1. When I go to the Wishlist page from a non english language (english is the main language), always shows Wishlist page english version.

    2. I can’t translate Cookies text popup. I tried creating several HTML blocks, translating the string on Loco and on Plolylang. Text always shows in english.

    3. Same thing with “Additional Tab title” and “Additional Tab content” from Theme Settings >> Product page >> Tabs

    Hope you can help me, thanks for your attention

    #179054

    Hello,

    First of all thanks for choosing our Theme, we are glad to be you in the WoodMart WordPress family :-).

    1) It takes English as the default language because all the themes and plugins default language is English. That’s why it’s behaving like that.

    2 & 3) To translate the strings you need to use the loco translate WordPress plugin that is compatible with our theme. Then you need to choose the correct path from Dashboard >> Loco Translate.

    OR

    You can watch the video on how to change the strings using loco translate.
    https://www.youtube.com/watch?v=D3NsDdMzsls

    Best Regards.

    #179088

    IUW
    Participant

    1. Sorry, I don’t understand your answer. How we could fix the issue I explained?

    2 and 3. As I said first, we already translate the strings using Loco translate and the issue is that is not working for these specific texts.

    Thanks

    #179184

    Hello,

    1) Please make sure that you have translated the Wishlist’s text using the correct path in order to make it work fine.

    2) You can change the cookie law info text from Theme Settings >> Shop >> Cookie Law info.

    Screenshot for Clarification: https://ibb.co/YZ7v710

    3) Please provide with some relevant screenshots of the specific area which you want to translate to check it myself and help you out accordingly.

    Best Regards.

    #179200

    IUW
    Participant

    Hello,

    1) Yes, we have three Wishlists pages, one for each language of our website. But no matter on which language you are navigating, when you go to Wishlist page you always get the english version. Please do a test yourself: go to the website, spanish version, and then click to Wishlist icon.

    2) As I said, we have a multilanguage website. We need this text in three languages. And as I said, Loco Translate is not working for this string.

    3) And again as I said, we are trying to get in three languages the “Additional Tab title” and “Additional Tab content” from Theme Settings >> Product page >> Tabs.
    Providing screenshots.

    Thanks

    #179270

    Hello,

    Can you please send me the WP admin login details of your site so I will check and solve the issue on your site.

    Best Regards.

    #179274

    IUW
    Participant

    Ok, thanks.

    #179286

    Hello,

    This issue is related to the Polylang setting. Please ask the plugin author support to check and solve the issue and ask them why the page always load in English languages.

    Best Regards.

    #179330

    IUW
    Participant

    So, it’s not possible to get it with Loco? None of three points I asked for?

    Thanks

    #179454

    Hello,

    No, multi languages pages are not possible with Loco translate plugin. It is only possible with Polylang which you have already used on your site and translated the pages in the Multi Languages so it is better to ask the plugin support for this issue that why the Wishlist page always open in the English language.

    Best Regards.

    #179456

    IUW
    Participant

    Ok thanks, I will. What about points 2 and 3? Those are strings.

    #179468

    Hello,

    2 & 3 Yes, these are also the custom field strings so please ask them how to add these custom text field strings in the Polylang string translation they will guide you properly.

    Best Regards.

    #179524

    IUW
    Participant

    Allright, if it helps, in order to fix the Wishlist issue with Polylang you have to include the next code on “Wishlist helper functions” page:

    `function woodmart_get_whishlist_page_url() {
    $page_id = woodmart_get_opt( ‘wishlist_page’ );

    if ( defined( ‘ICL_SITEPRESS_VERSION’ ) && function_exists( ‘wpml_object_id_filter’ ) ) {
    $page_id = wpml_object_id_filter( $page_id, ‘page’, true );
    }

    //START ADDED CODE
    if ( defined( ‘ICL_SITEPRESS_VERSION’ ) && function_exists(‘pll_register_string’)){
    $page_id= pll_get_post($page_id);
    }//END ADDED CODE

    return get_permalink( $page_id );
    }
    }`

    For Cookies text we choose another plugin, and for Additional Tab Content and Additional Tab Title we are not able to find the source code we should edit. We will appreciate if you can tell us where is it in the theme folder structure.

    Thanks

    #179533

    Hello,

    You can find the source code here wp-content/themes/woodmart/inc/admin/redux/settings/product-page.php:506 and inc/admin/settings/product.php:859

    Best Regards.

    #179551

    IUW
    Participant

    That was helpful, thank you. We registered two more additional tabs and we are filtering at “additional tab” function call depending on current language.

    So everything is fixed now, thanks for your attention.

    #179552

    Hello,

    We are thrilled that you loved your experience with XTEMOS, We put customer experience and satisfaction as our priority, and your words reaffirms the hard work we put in every day. So thanks for your kind words and we look forward to seeing you again.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

Viewing 16 posts - 1 through 16 (of 16 total)

The topic ‘Translation issues’ is closed to new replies.