0Day Forums
Prestashop translation not showing up - Printable Version

+- 0Day Forums (https://zeroday.vip)
+-- Forum: Coding (https://zeroday.vip/Forum-Coding)
+--- Forum: CMS (https://zeroday.vip/Forum-CMS)
+---- Forum: PrestaShop (https://zeroday.vip/Forum-PrestaShop)
+---- Thread: Prestashop translation not showing up (/Thread-Prestashop-translation-not-showing-up)



Prestashop translation not showing up - kulda827 - 07-27-2023

I just created a new module to manage some strings. I installed the module and i see the texts on the backend to translate.
So far, so good.
But the problem is, that once i translate and save, i can't seem to get the updated information on the frontend.

I added this into my product.tpl template


{l s='CI' mod='aproductimages'}


That translation, according to Prestashop, is saved as "http://.......image.jpg", but when i print it on the template, i only get "CI" (the original string, not the translation)
I tried downloading my module's translation files, but they're empty.
Is that correct? am i missing something?
Thanks!


RE: Prestashop translation not showing up - creamlike684954 - 07-27-2023

Very often in Prestashop You need to flush page and browser cache memory.


In Prestashop BO go to ***Advanced Parameters / Performance*** and turn cache off and force theme compilation. Then use ***Clean Smarty and Autoload cache*** button.

Next clean browser and refresh Your site by CTRL+F5.

This should help!