Page 1 of 1

Translation and Override Issues with "Related Products" Label in Phoca Cart 5

Posted: 15 Jun 2025, 20:01
by amax2
Hello everyone!

I'm experiencing a problem with the Italian translation and overriding the "Related Products" label in Phoca Cart 5. Despite my attempts, I can't get this label to display in Italian; it consistently remains in English.

I've tried various combinations for overriding the values, both by trying to translate the string directly into Italian and by attempting to override the English string itself, but I haven't gotten any results. The label invariably remains "Related Products".

As you can see in the image,
https://ibb.co/wNPdjHqY
I've tried various configurations without success.

Has anyone had similar experiences or can tell me the correct procedure to translate or override this label? Is there a specific file I should check or a cache I might have overlooked that needs clearing?

Any suggestions are welcome! Thank you so much for your help.

Re: Translation and Override Issues with "Related Products" Label in Phoca Cart 5

Posted: 16 Jun 2025, 08:28
by Benno
Hi
In Phoca Cart v5.1.1 there are five different strings with the text “Related Products”:
Image

These affect both the frontend:
Image

As well as the backend:
Image

Try out which string should be changed, either by language override or by editing your Italian language file.

Kind regards,
Benno

Re: Translation and Override Issues with "Related Products" Label in Phoca Cart 5

Posted: 16 Jun 2025, 11:29
by amax2
Hello everyone,

I've solved the problem with the "Related Products" label translation!

The issue, as some of you might have already guessed, was that there isn't an official Italian translation yet for Phoca Cart 5. This is why the constant

Code: Select all

COM_PHOCACART_CONTENT_TYPE_RELATED_DEFAULT 
simply wasn't present in the language files for version 5.

I checked and manually added the constant to the translation file from version 4, and now it works perfectly! The "Related Products" label is now displayed correctly in Italian.

Thank you all so much for your help and support!

Re: Translation and Override Issues with "Related Products" Label in Phoca Cart 5

Posted: 16 Jun 2025, 11:53
by Benno
You're welcome!

Kind regards,
Benno