Jump to content
michallos

Prestashop - zmiznutie textov po uložení prekladu

Recommended Posts

Ahojte,

kúpil som si šablónu na themeforest, šabelona je kompatibliná multijazyčná s najnovšou prestou, po nainštalovaní krásne všetko funguje až do chvíle kým som nešiel prekladať moduly a polia v šablóne. Hneď ako som to spravil stalo sa toto:

http://www.image-share.com/ijpg-2856-275.html

Názvy modulov sa premenovali na názvy kategórií a v moduloch chýbajú buttony tak isto aj na frontende, pomizli texty.

V čom môže byť problém ?

Toto je tá šablona

SuperShop – Multi-Purpose Responsive Prestashop Theme Preview - ThemeForest

Share this post


Link to post
Share on other sites

Zdá sa, že som to poriešil dočítal  som sa, že:

 

To repair only one file.
prestashop 1.6.0.11
classes/translate.php
line. 169

if (isset($_MODULES[$current_key]))
$ret = stripslashes($_MODULES[$current_key]);
elseif (isset($_MODULES[$default_key]))
$ret = stripslashes($_MODULES[$default_key]);

replace with

if (isset($current_key) && !empty($_MODULES[$current_key]))//Bosky
$ret = stripslashes($_MODULES[$current_key]);
elseif (isset($default_key) && !empty($_MODULES[$default_key]))
$ret = stripslashes($_MODULES[$default_key]);
elseif (!empty($_MODULES[$current_key]))
$ret = stripslashes($_MODULES[$current_key]);
elseif (!empty($_MODULES[$default_key]))
$ret = stripslashes($_MODULES[$default_key]);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More