Support will be provided with delays until 30 August. We are sorry for the inconvenience.
We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Waiting on customer

Ticket #12675 - Wrong traslation

Hello, im trying to change some of the translation integrated on the theme.

There is a button inside the product page to add it to the cart. The traslation of the button is wrong, and i would like to change it, I have inspected the item using the browser it looks is just the name of the button in the code.
I tried to change it using the native translation module from Prestashop, but when i choose theme traslation, and my own language has a loading error code.
You can see attached the printscreen for more information.

I use Prestashop 1.7.2.2, PHP version 7.0, 5.2 alysum version.

website: https://fourwindsproject.com/ Wrong translation page page: https://fourwindsproject.com/four-winds-basic/10-53-four-winds-basic-negra.html#/2-size-m

The button is called “Matricúlate”(this is word is used in spanish to join a course or something similar, not used to add a product to the cart or buy it. The correct word should be Add to the cart (Spanish: Añadir)
Take into consideration the button appears too in the direct access from the homepage, if you click in the picture of the product it will open a new layer without leaving the home page, and the button appears again.
In added, if you add the product to the cart, and want to finish the procedures, appears another button called “Revise” the meaning is Check, and should appears Continue (Spanish: Continuar) or validate (Spanish: Validar)

Which is the way to change it in this case? Shall I modify it from his own file inside the theme using TPL? Where can i find the button code file?

This ticket does not depend on any other tickets.

Marek (marek) 09 Aug 2018, 11:08

Hi, Sergio Rubiales.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office

Sergio Rubiales (Sergio-Fourwinds) 09 Aug 2018, 11:37

Hello, al the information has been updated, waiting your feedback, Many thanks for you support
Best regards

Marek (marek) 09 Aug 2018, 12:10

I have found out an error message

Failed to copy "/webspace/siteapps/Prestashop-248197/htdocs/app/cache/prod/themes/alysum/translations/es-ES/ModulesCustomeraccountlinksShop.es-ES.xlf" to "
/webspace/siteapps/Prestashop-248197/htdocs/app/cache/prod/themes/alysum/translations/es-ES/ModulesCustomeraccountlinksShop.es-ES.xlf" because target file could not be opened for writing. 

So, it's not related to the theme, it's permissions question.
Try to set chmod 777 for the folder /webspace/siteapps/Prestashop-248197/htdocs/app/cache

Sergio Rubiales (Sergio-Fourwinds) 12 Aug 2018, 21:27

Good Afternoon,

I have set the permission to 777 for cache directory, the same message error appears, I tried to set 777 for the whole prestashop directory with the same result.
There is another way to modify it?

Best regards

Marek (marek) 13 Aug 2018, 11:31

Something wrong with files permissions http://take.ms/9b59k
Try to ask your hosting provider support how to fix that

Sergio Rubiales (Sergio-Fourwinds) 13 Aug 2018, 17:06

Hello Marek,
I have check the permissions, The permissions still 666 because everytime I connect with back office the files are updated and change into 666 permissions again, If I set them to 777 now, when I check traslation module in the back office, them automaticaly changes into 666 at the same moment. this issue just happens with Cache files. My host's technical services assure this is a usual operation with prestashop, and the changes are generated from prestashop because the files are updated with different permissions.

I have check similar questions in Prestashop forum and it looks normal, majority files from the cache folder are updated everytime we try to modify something, so wich is the next step?
i have tried to deactivate cache with the same result.

You can check what i mean using ftp and trying to acces to the traslation module, and is not a problem with the host or the permissions, many webs editors ask for similar errors in the prestashop forum and the answer is the same, cache is updated continuosly and then files are generated with the permission 666.

Best regards

Marek (marek) 14 Aug 2018, 13:54

I would like to help you but I really have no idea what's wrong with that. And the issue is not related to the theme. Try to ask prestashop community to help

Loading...