Jump to content

prestashop - language pack problems


Recommended Posts

Hello,

 

I want to use Prestashop with Velvet Sky theme ... nothing wrong, all going smooth until i wanted the prestashop front to work in romanian, because my customers will be only romanians. I tried first the latest version of prestashop - 1.4.8. - and got the Velvet Sky theme on it. I tried to install a new language pack (romanian) but nothing worked. I even tried several edition language romanian packs and still didnt worked. Then, i went on Tools - Translations and wanted to translate line by line and still it didnt worked. Then i dumped 1.4.8. and i used 1.4.6.1 wich is the latest 64 % romanian version and still the same problem, only a half of the front is translated. Ok with me, but again when i tried to translate line by line in Tools - Translations still it didnt make any difference. It only translates the into product pages and nothing from home page. Any advice !? Please, i am starting to feel very angry ...

 

Thank you!

Edited by NoUsername (see edit history)
Link to comment
Share on other sites

<?php

 

global $_LANG;

$_LANG = array();

$_LANG['history_27792947ed5d5da7c0d1f43327ed9dab'] = 'detalii';

$_LANG['product-list_2d0f6b8300be19cf35e89e66f0677f95'] = 'adauga in cos';

$_LANG['product_2b56b60f878922093facd42284848a0c'] = 'mai multe detalii';

$_LANG['product_2d0f6b8300be19cf35e89e66f0677f95'] = 'adauga in cos';

 

?>

 

this is all i have there

 

these are the lines i tried to translate in the tools - translation

 

for example i wanted to translate "add to cart" ... as u can see there i did translate in 2 places with romanian "adauga in cos" ... one is for the home page and one is for the into product page. The product page worked and the translation is fine, but the one from the first page had no effect. WHY ?!

Edited by NoUsername (see edit history)
Link to comment
Share on other sites

It seems your sushion doesn't allow this much variables at once.

 

Like was mentioned in one other post it's problem with Suhosin module, which doesn't allow to post enough variables in one form

- In new file called php.ini you must write this two lines and put php.ini in yoursite/prestashop/admin directory:

 

suhosin.request.max_vars = 2048

suhosin.post.max_vars = 2048

 

 

And that should fix problems with translations not sticking/update not working.

Edited by helldog2004 (see edit history)
Link to comment
Share on other sites

Hi NoUsername,

I have removed the other topic you posted just now about this because the rules of the PrestaShop forums dictate that you only create one topic per issue.

 

If helldog's suggestion doesn't work, you may want to contact your hosting provider. Additionally, you could always try contacting the developers of Velvet Sky directly.

 

-Mike

Link to comment
Share on other sites

×
×
  • Create New...