• I’m experiencing some problems while trying to filter products which are translated to different languages in TranslatePress plugin.

    I noticed that some titles in the feed are displayed in English (translated) language but on the other hand some products titles are displayed in Lithuanian (default) language. I’m 100% sure that all of these products have translations. You can also check this feed: https://devinera.com/wp-content/uploads/rex-feed/feed-18827.xml

    Also I have noticed that slugs added to the feed are in default language all the time. I contacted TranslatePress support and here’s what they replied to me:

    Unfortunately it’s up to the product feed plugin to add support for TranslatePress. 
    We don’t process the feeds themself.

    Please contact the support of the product feed and ask them to translate the link to the product as well using the get_url_for_language function, if the URL doesn’t already come translated from get_permalink for example.
    https://translatepress.com/docs/developers/translating-an-internal-url/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support mdrazunmia

    (@mdrazunmia)

    Hi @wantyq,

    We tried to regenerate the issue on our end but are not facing the same problem. After reviewing the feed file you provided, we noticed that while the product links are generated in English, the product titles are displayed in Lithuanian, with a few titles containing some English words. However, we were unable to replicate this issue on our side.

    To assist you further, we would need a bit more information:

    1. The versions of the PFM (Product Feed Manager) and TranslatePress plugins you are using.
    2. A screenshot of your Full Feed Attributes, Feed Filter, and Feed Settings sections.

    If you’re unable to share this information here, feel free to reach out to us directly through our official support channel, and we’ll be happy to assist you.

    Looking forward to your response.

    Best regards,

    Thread Starter wantyq

    (@wantyq)

    PFM – Version 7.4.31
    TranslatePress – Multilingual – 2.9.5
    TranslatePress – Personal – 1.4.2

    Here’s the additional information you asked for

    Thread Starter wantyq

    (@wantyq)

    Also, TranslatePress support asks this:

    Please tell us what plugin for the feeds you’re using and how they are adding support for TranslatePress (a link to their documentation if possible). Also, please note each plugin adds support for TranslatePress in their own way. 

    Have you tried to contact the developer to ask if they need something from us to implement slug translation? 

    If they have hooks in order for us to filter the feed URL, we might be able to use https://translatepress.com/docs/developers/translating-an-internal-url/ in order to get it translated. Which bring us back to the fact that each feed plugin plugin works differently and we could use feedback from their development team.

    Can you share the link to TP documentation?

    Thread Starter wantyq

    (@wantyq)

    @mdrazunmia , did you check the information I’ve submitted?

    Plugin Support mdrazunmia

    (@mdrazunmia)

    Hi @wantyq,

    Kindly excuse the delay in response due to the weekend. We have now reviewed the information you provided.

    From your screenshot [https://prnt.sc/fiv7IprjMEHB], we can see that you have selected English as the feed language. As a result, all the product URLs in the feed have “/en/” in the URL, as shown in this screenshot: [https://prnt.sc/AryySokh9-wD].

    However, after reviewing the product titles in your feed, we noticed that some products are still displayed in Lithuanian, even though the feed language is set to English. Ideally, all product titles should be in English.

    To investigate further, we checked one of the affected products via the product URL:
    [https://devinera.com/en/wifi-light-switch-single-pole-white/?attribute_modelis=Su%20neutraliu%20laidu]

    Upon visiting this page, we found that this product is not translated into English on the frontend. This suggests that while TranslatePress is handling most translations, certain products might still be displayed in their default language due to missing translations.

    Explanation of How Our Plugin Handles Translations:

    When our plugin generates a product feed in a language other than the default, it includes all translated products in that selected language. However, if a product does not have a translation available, it will appear in the default language in the feed.

    To resolve this issue, please check the following:

    1. Ensure all products have translations in TranslatePress.
    2. Manually verify that each product appears in the correct language on the frontend.
    3. Clear cache and regenerate the feed to apply any recent translation changes.

    Also here is your requested documentation link: How to generate product feed in multiple languages with TranslatePress

    Let us know if you need further assistance!

    Best regards,

    Thread Starter wantyq

    (@wantyq)

    @mdrazunmia , I’m not sure how did you find this particular product “light switch” but it’s not in the feed. At least not on my end. But yes, light switches are not translated at all and that’s why they are not inserted to the feed at all.

    Just to confirm, this is the url of the feed: https://devinera.com/wp-content/uploads/rex-feed/feed-18827.xml

    I was going through every product manually which is inserted in the feed and all of them had translations. Here’s the screenshot you added for me: https://prnt.sc/AryySokh9-wD

    You can check every of this product from your screenshot and you will see that the url changes when you try to visit it.

    I cleared cache using TranslatePress, I cleared cache using NitroPack, I also cleared cached in your plugin settings. None of mentioned solutions didn’t help me at all.

    Thread Starter wantyq

    (@wantyq)

    Here’s a different product feed which was generated using different plugin. Here you can see that every link is translated: https://devinera.com/wp-content/uploads/woo-product-feed-pro/xml/wltrSXwQUW0MkflCfMYUAXtMGeNqEbFG.xml

    So it seems it’s true, your plugin isn’t compatible with TranslatePress

    Plugin Support mdrazunmia

    (@mdrazunmia)

    Hi @wantyq,

    In this feed [https://devinera.com/wp-content/uploads/woo-product-feed-pro/xml/wltrSXwQUW0MkflCfMYUAXtMGeNqEbFG.xml], also that you have generated with another plugin, you can see that there are products with Lithuanian title but the URL is in English “/en/” in the URL. See the screenshot: https://prnt.sc/-F29FdhftUuc.

    This product that is in the feed created by the other plugin: [https://devinera.com/en/wifi-light-switch-dipole-black/?attribute_modelis=Be+neutralaus+laido&utm_source=Kaina24%20-%20Estonia&utm_campaign=Kaina24%20-%20Estonia&utm_medium=cpc&utm_term=6708] you can see that it is not translated.

    The issue here is that if the products are not translated, then in the feed the products will be included in the default language. Same thing goes for both the feed plugin.

    Let us know if our answer clarifies things for you.

    Best Regards,

    Thread Starter wantyq

    (@wantyq)

    One more time, don’t pay attention to the light switches. They are not translated. Take a look at the products which are completely translated and still has that problem with untranslated slugs.

    You can take a look in the screenshot what TranslatePress responded me. Please answer to their question (selected text in the screenshot).

    Thread Starter wantyq

    (@wantyq)

    Forgot to mention. Here’s the feed that I’m currently working on:L https://devinera.com/wp-content/uploads/rex-feed/feed-18917.xml

    Thread Starter wantyq

    (@wantyq)

    Can you tell me the exact part in your plugin where you select slugs of translatepress in database? I just checked the structure of database and I strongly believe that you use a different table to retrieve slugs.

    In my case translated slugs should be retrieved from wp2e_trp_slug_translations and not from wp2e_trp_slug_originals

    Plugin Support mdrazunmia

    (@mdrazunmia)

    Hi @wantyq,

    Thank you for your patience as we go through this on our end.

    The issue arises because slug translation is a Pro feature of TranslatePress, and currently, our plugin has built-in support for the free version only. As a result, the translated product URLs are not being included in the feed; instead, the language code is simply being encoded in the URL.

    We completely understand the limitation this creates for generating feeds with fully translated product URLs. To address this, we will reach out to the TranslatePress team for a possible collaboration to integrate support for their Pro version.

    We truly appreciate your efforts and patience, and we’ll do our best to bring this compatibility as soon as possible. Once this support is implemented, we’ll notify you right away.

    Regarding your last question, our plugin currently retrieves the product URL from the trp_settings option table.

    Let us know if there’s anything else we can assist you with in the meantime.

    Best regards,

    • This reply was modified 1 month, 2 weeks ago by mdrazunmia.
    Thread Starter wantyq

    (@wantyq)

    Thank you very much. Let me know after the issue is fixed.

    Please keep in mind to double check every part of the structure including titles, descriptions. Because I also noticed that those parts are translated but still not displayed in translated language

    Thread Starter wantyq

    (@wantyq)

    @mdrazunmia , since you’ll have to fix some issues related to TranslatePress, here’s one more thing to check.

    As mentioned before, I noticed that some titles are displayed in it’s default language. But I can confirm that all strings, titles, meta information are translated. Please check my attached picture below.

    First product (id 5404) is a parent product. Products 7671, 7672 as you can see have titles displayed in default language and they are child products. So it seems like if there is a possibility to select attribute, those child products won’t have translated title displayed in the feed.

    Plugin Support mdrazunmia

    (@mdrazunmia)

    Hi @wantyq,

    Thank you for your time and efforts in identifying the issues. We will certainly ensure that everything works smoothly, including the titles and descriptions.

    We also recommend reaching out to our official support channel for more efficient communication and collaboration. This will help us address any concerns more effectively and get things resolved as soon as possible.

    Thank you again for your patience!

    Best regards,

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.