• Resolved the-wizl

    (@the-wizl)


    Hi

    Kevins polylang solution erlier in this forum didn´t work for me.

    Tab title and title of linked page are all in the same language. And not even the default language. Content in page is translated correct.

    I dont know what to do…

    Best regards

    Magnus

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Magnus,

    Are you using saved tabs? There will be no way to automatically translate a saved tab.

    Are you creating different language versions of each product? If you’re creating different versions for the same product, I don’t understand how adding a new tab in a different language is any different than adding a new description in a different language. After you duplicate a product for translation, change the product tab’s title and content. This isn’t working for you?

    Let me know,
    Kevin.

    Thread Starter the-wizl

    (@the-wizl)

    Hi

    Yes, saved tabs, and there are one translated wordpress page for every product. One custom tab for every language and wordpress page short code in that language. The woocommerce product pages translation are working (with default tabs etc).

    The content shows correctly since it using short code to load content. But titles are not translated into correct language. It always show german translation. My default language are swedish and my third language american.

    /Magnus

    • This reply was modified 7 years, 7 months ago by the-wizl.
    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Magnus,

    I think you need to use different saved tabs for the different languages. Are you able to remove the German saved tab from your Swedish version of the product? Or do you only have one version of the product (i.e. Swedish) that is automatically translated into German or English?

    Let me know.

    Thank you,
    Kevin.

    Thread Starter the-wizl

    (@the-wizl)

    Hi, thanks for your response.

    Yes I´ve got 3 different saved tabs in/for every language. Polylang makes one post, page and/or product for every language. To recognize language translation (eg. language switcher) you have to add code for it, example: get_post(pll_get_post($id));

    Now I have a snippet but I would prefer your great addon since I might not update this website in the future and snippets are complex for ordinary users.

    Best regards

    Magnus

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Magnus,

    I am still confused. I think we have Polylang configured differently.

    I am going to explain how I set up my products/tabs and hopefully you’ll be able to tell me what I am doing differently than you. Again, I apologize for my lack of familiarity with Polylang.

    I created one product in my default language (English): https://imgur.com/a/IGnqEdz.

    Then I added a saved tab to it: https://imgur.com/a/Wbz9XfP.

    Then I created a version of this product in the second language (French). I edit this product like this: https://imgur.com/a/Wa4rtoZ.

    Then I _deleted_ the saved tab shown above (“Hello my friends”) and added a different saved tab: https://imgur.com/a/2rZ76UB.

    This is what my English product looks like on the front end: https://imgur.com/a/dgdVIRN. This has the URL /product/a-product/

    And this is what my French product looks like on the front end: https://imgur.com/a/oywir17. This has the URL /fr/product/un-produit/.

    Does that make sense? What are we doing differently?

    If your implementation won’t work with the setup I explained above, maybe we can create some custom code that will fulfill your requirements.

    Thank you,
    Kevin.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Hi @the-wizl,

    Just checking in.

    Please let us know if you still need help with this.

    Thank you,
    -Tracy

    Thread Starter the-wizl

    (@the-wizl)

    Hi, sorry for the late answer.

    I`m not doing anything different except that I already had two language versions of my product and I linked the saved tabs to my product after my product where translated.

    I do get the right translation of the saved tabs content but not the right tab titles.

    Now I am using a code snippet that hasn´t got anything to do with the plugin. But would like to use the plugin if it worked since i will have different tabs in the future.

    Best regards

    Magnus

    • This reply was modified 7 years, 6 months ago by the-wizl.
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Polylang translation’ is closed to new replies.