• Resolved shineboyjun

    (@shineboyjun)


    I use woocommerce to manage products, and the product permalinks is “/product/%product_cat%/”, so the single product url will like “domain.com/product/category/subcategory/slug”.
    the translatepress plugin works fine on all pages excluding single product page, it adds like “/it/”, “/fr/” after “domain.com”.

    the problem on single product page is that it auto translates “product“(from single product url) to “prodotto” in italian and to “produit” in french, so it becomes (italian example)”domain.com/it/prodotto/category/subcategory/slug”. it’s ok when you switch from english to italian, but when switch from italian to other language like english, it will remove /it/ to english or change /it/ to /fr/ to french, but no changes on “/prodotto/”, then the page 404 error.

    is there anyway to solve this problem? I wanna product url without changes, just add lanuage short name like /it/, /fr/, keep the “/product/category/subcategory/slug” same, don’t translate “product”.
    Thanks in advance!

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter shineboyjun

    (@shineboyjun)

    anyone from TranslatePress can help to solve this problem?

    This problem can’t be solved by re-installation of this plugin.

    So yesterday I tried to restore my website to the backup before I install this plugin, and then install it, the problem disappear, and the single product url doesn’t change, just and the language code like /it/, /es/, /fr/.

    But today, the single product url changed again as the problem I described, it auto translated the “product” into other languages, like prodotto for italian and producto for spanish, which result in redirection 404 error.

    I saw some other users have the same problem, so could you please help to check this issue soon?

    Hey there,

    Thanks for reaching out to us!

    Please install this small addon as a normal plugin. It disables automatic “product”, “product-category” and “product-tag” slug translation.

    You can still add a custom slug from String Translation, if automatic slug translation is active, it will still add translations to it. ??

    ??https://translatepress.com/download/1236529/

    Thread Starter shineboyjun

    (@shineboyjun)

    Hi Andrei, many thanks for your solution, it works so far, and I will keep an eye on it. Btw, I saw many users have the same issue, maybe you can get this update on your next version?

    I have one more request that I hope your plugin can support to translate the ACF field label, for example, I add a “Product Model” field for each product, on the product page, it will be display like Product Model: A-B (“A-B” is the product code/model, which don’t need to be translated), but we want the field label “product model” could be translated. Currently we can only translate the whole “Product Model: A-B” as a text, one by one for each product. If your plugin support translating acf field label, then it will be much better.

    Thread Starter shineboyjun

    (@shineboyjun)

    hello, last time I installed the plugin you provided and at that time “Automatically Translate Slugs” is disabled, and it worked, no change in the product url.
    But today when I enable “Automatically Translate Slugs” with google API key, and the “Automatically Translate Slugs” option is yes by default, and the above plugin you provided is still active, then the problem comes again, it changes the product url, as the description when I posted this topic.

    Could you please help to check which is the root reason of this problem? I spent lots of time to find the reason and now I restore my website at first, and then uncheck “Automatically Translate Slugs”, seems it works ok so far.
    This problem is really quite seriously, once it occurred, the website in other languages didn’t work and redirect to 404 page.
    You can’t remove this problem just by uncheck “Automatically Translate Slugs”, you have to restore back.

    Your plugin is quite good in many aspects, but this problem is really quite quite bad, please help to delve into the root reason, many thanks!

    Plugin Support Alex

    (@alexcozmoslabs)

    We need to take the pulse of this ticket. Is it still relevant?
    In the meantime, I set this ticket as Resolved. You can also change its status back to unresolved and let us know by replying to this topic if your request still needs attention.
    However, we encourage you to leave this ticket as it is and open a new one where to mention the issue again and ask for support. You can mention the link to this thread in the new ticket.

    Hello I have the same issue. Error 404 when changing language in single product page. I had to disable Permalink Manager for WooCommerce cause it seems incompatible with Translatepress and now I have the terms “product and product-category” in URLS.

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    TranslatePress allows to translate the native slugs and the Premmerce plugin allows to adjust the full URI address.
    Both Permalink Manager and TranslatePress are modifying the base structure of the urls so it’s quite possible for the two to not work well together.
    Permalinks are really complicated and it’s hard enough to get one of the plugins working, let alone two plugins that are both modifying the permalink structure.


    Thread Starter shineboyjun

    (@shineboyjun)

    5 months ago, Andrei (@andrei202) provided me a addon to disables automatic “product”, “product-category” and “product-tag” slug translation, it solved my problem at that time.

    but now I found it still automatically translate “product-tag”.
    (I’m not sure it was solved or not when I installed above addon at that time).
    for example, there are links of product tag like “domain.com/product-tag/slug/”,
    it doesn’t translate the part “slug”, this is what I want.
    But it automatically translates the part “product-tag”, for example, in Italian the above link becomes “domain.com/it/tag-prodotto/slug/”, which results in 404 pages.
    anyway to fix this issue? It causes thousands of 404 URLs on my website…

    Thread Starter shineboyjun

    (@shineboyjun)

    Could someone please help me check my issue? Thank you in advance!

    Thread Starter shineboyjun

    (@shineboyjun)

    I am very dissatisfied with your technical support. I described my problem in detail 10 days ago and the problem still exists after installing an additional add-on as you suggested.

    In order not to take up too many resources, I did not reopen a topic because this issue is a continuation of the problem I reported above.

    5 days ago, I left a message on this post again hoping to get your reply.

    But till now, there is still no reply, and my website keeps generating 404 pages because of your plugin.

    How can you take your customers’ requests for help seriously?

    Hello there,

    Apologies for not getting back to you any sooner!

    At the moment our development team is working on a refactoring on the way TranslatePress handles permalinks. This update should resolve the problem you are facing without any further actions from your side.

    Until then deleting the translation for “product-tag” and keeping it in the default language should be the way to go.

    Again we are sorry for the long waiting time you experienced and we thank you for your patience!

    Thread Starter shineboyjun

    (@shineboyjun)

    Could you let me know an estimated time? several weeks or months? If just several weeks, I will wait.

    Thread Starter shineboyjun

    (@shineboyjun)

    Hi Andrei, could you help guide how to “deleting the translation for “product-tag” and keeping it in the default language”? Sorry I’m not familiar with it.

    Thread Starter shineboyjun

    (@shineboyjun)

    Another TWO MONTHS have passed and the bug I submitted last time still exists, causing my site to still generate 404 pages.

    2 months ago I asked you guys how to “deleting the translation for “product-tag” and keeping it in the default language”. and still no reply.

    So I would like to ask you guys what kind of logic you are using to deal with this problem of mine?

    I gave feedback on my issue and you guys acknowledged that the problem exists and said that it will be fixed in a new release.

    Then you guys suggested that I could “deleting the translation for “product-tag” and keeping it in the default language”. But when I asked you guys how to do this, you didn’t have any news.

    Please get back to me as soon as possible!

    Plugin Support Alex

    (@alexcozmoslabs)

    Our dev team prepare to release a new version that will contain multiple fixes regarding slug translation, so it should fix also this case. It should be available in 1-2 weeks.

    Thank you for understanding.

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