drexdis Posted December 22, 2014 Share Posted December 22, 2014 Hello, The story short: I had english language installed and translated it in romanian (like 30%), then i thought maybe i should use the romanian pack. So i copy the romanian language over the english one and now i have more translation problems than i had before. The good news is that i exported the english language so i can use it later. The problem is that i get an error when i try to import it: "validation failed for mails/en/lang.php" I have opened the file and searched for "$_LANGMAIL['Email verification'] = '';" as suggested from one post, but i can't find this line. All langmail are translated. Where is the problem? What should i do to import this saved language back? Thanks in advance Link to comment Share on other sites More sharing options...
drexdis Posted December 23, 2014 Author Share Posted December 23, 2014 No one knows anything? Link to comment Share on other sites More sharing options...
hrackysdusi Posted January 17, 2015 Share Posted January 17, 2015 simmilar problem... updated prestashop, then re-installed own template... and it gives me this error Link to comment Share on other sites More sharing options...
vekia Posted January 17, 2015 Share Posted January 17, 2015 check file please, what does it contain? can you share contents please? Link to comment Share on other sites More sharing options...
hrackysdusi Posted January 17, 2015 Share Posted January 17, 2015 I think I found the problem... in language file, in part which translates lang.php there is empty translation ' ' for wishlist module... Will try and let you know if it was the reason. Link to comment Share on other sites More sharing options...
hrackysdusi Posted January 17, 2015 Share Posted January 17, 2015 (edited) It was not that... So here is what is in lang.php with default translations and attaching language pack with my translations from 1.6.0.9... (txt just rename to gzip) lang.php <?php global $_LANGMAIL; $_LANGMAIL = array(); $_LANGMAIL['Your guest account has been transformed into a customer account'] = 'Váš návštěvnický účet byl převeden na zákaznický účet'; $_LANGMAIL['The virtual product that you bought is available for download'] = 'Produkt, který jste si koupili je připraven ke stažení'; $_LANGMAIL['New voucher for your order %s'] = 'Nový slevový kupón k vaší objednávce %s'; $_LANGMAIL['Order confirmation'] = 'Potvrzení objednávky'; $_LANGMAIL['Log: You have a new alert from your shop'] = 'Log: Máte nový záznam v logu z Vašeho obchodu'; $_LANGMAIL['Fwd: Customer message'] = 'Fwd: Zpráva zákazníka'; $_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'Je k dispozici odpověď na vaší zprávu, #ct%1$s #tc%2$s'; $_LANGMAIL['Your new password'] = 'Vaše nové heslo'; $_LANGMAIL['Package in transit'] = 'Zásilka na cestě'; $_LANGMAIL['New message regarding your order'] = 'Nová zpráva k objednávce'; $_LANGMAIL['New voucher for your order #%s'] = 'Nový slevový kupón k vaší objednávce %s'; $_LANGMAIL['New credit slip regarding your order'] = 'Nový slevový kupón k Vaší objednávce'; $_LANGMAIL['Process the payment of your order'] = 'Zpracování Vaší platby'; $_LANGMAIL['Your order has been changed'] = 'Vaše objednávka byla změněna'; $_LANGMAIL['Your order return status has changed'] = 'Stav vratky objednávky byl změněn'; $_LANGMAIL['Welcome!'] = 'Dobrý den!'; $_LANGMAIL['Your message has been correctly sent #ct%1$s #tc%2$s'] = 'Vaše zpráva byla v pořádku odeslána #ct%1$s #tc%2$s '; $_LANGMAIL['Your message has been correctly sent'] = 'Vaše zpráva byla v pořádku odeslána'; $_LANGMAIL['Message from contact form'] = 'Zpráva z kontaktního formuláře'; $_LANGMAIL['Message from a customer'] = 'Zpráva od zákazníka'; $_LANGMAIL['Password query confirmation'] = 'Potvrzení požadavku na nové heslo'; $_LANGMAIL['Newsletter voucher'] = 'Odběr novinek – slevový kupón'; $_LANGMAIL['Newsletter confirmation'] = 'Potvrzení přihlášky k odběru novinek'; $_LANGMAIL['Email verification'] = 'Potvrzení e-mailu'; $_LANGMAIL['Your wishlist\'s link'] = 'Odkaz na Váš seznam přání'; $_LANGMAIL['Message from %1$s %2$s'] = 'Zpráva od %1$s %2$s '; $_LANGMAIL['Your cart and your discount'] = 'Nabídka slevy pro položky ve vašem košíku'; $_LANGMAIL['Thanks for your order'] = 'Děkujeme za Vaši objednávku!'; $_LANGMAIL['You are one of our best customers'] = 'Děkujeme za to, že jste jedním z našich nejlepších zákazníků'; $_LANGMAIL['We miss you'] = 'Chybíte nám'; $_LANGMAIL['Product available'] = 'Váš sledovaný produkt je nyní k dispozici'; $_LANGMAIL['New order : #%d - %s'] = 'Nová objednávka: #%d - %s'; $_LANGMAIL['Product out of stock'] = 'Produkt(y) jsou téměř vyprodané'; $_LANGMAIL['Stock coverage'] = 'Pokrytí zásob'; $_LANGMAIL['Referral Program'] = 'Sponzorský program'; $_LANGMAIL['Congratulations!'] = 'Blahopřejeme!'; $_LANGMAIL['%1$s sent you a link to %2$s'] = '%1$s Vám poslal odkaz %2$s'; return $_LANGMAIL; cs.txt Edited January 17, 2015 by hrackysdusi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 17, 2015 Share Posted January 17, 2015 hello so now everything is allright when you filled out this empty ' ' space? Link to comment Share on other sites More sharing options...
hrackysdusi Posted January 17, 2015 Share Posted January 17, 2015 No, when I upload repaired language file, it´s without error. Tells me that upload was successful, but tranlations are not there... could it be error in gzip file? I decompressed and compressed that with 7-zip, which turns it into ".gz" and I rename it to ".gzip"...? Link to comment Share on other sites More sharing options...
drexdis Posted January 22, 2015 Author Share Posted January 22, 2015 Hello, i attach my lang also, maybe you know where there is a problem: global $_LANGMAIL;$_LANGMAIL = array();$_LANGMAIL['Virtual product to download'] = 'Virtual product(s) available for download';$_LANGMAIL['Your guest account has been transformed to customer account'] = 'Your guest account has been transformed to a customer account';$_LANGMAIL['Your order return state has changed'] = 'Your order return status has changed';$_LANGMAIL['Password query confirmation'] = 'Forgot password';$_LANGMAIL['New voucher regarding your order %s'] = 'New voucher for your order %s';$_LANGMAIL['Newsletter confirmation'] = 'Newsletter subscription confirmation';$_LANGMAIL['Your cart and your discount'] = 'Discount offer for items in your cart';$_LANGMAIL['Thanks for your order'] = 'Thanks for your order!';$_LANGMAIL['You are one of our best customers'] = 'Thank you for being one of our best customers';$_LANGMAIL['Product available'] = 'Your watched product is now available';$_LANGMAIL['Product out of stock'] = 'One or more products are almost out of stock';$_LANGMAIL['We miss you'] = 'We miss you';$_LANGMAIL['Email verification'] = 'Email verification';$_LANGMAIL['Newsletter voucher'] = 'Newsletter voucher';$_LANGMAIL['New order'] = 'New order : #%d - %s';$_LANGMAIL['Stock coverage'] = 'Stock coverage';$_LANGMAIL['Congratulations!'] = 'Congratulations!';$_LANGMAIL['Your wishlists link'] = 'Your wishlist\'s link';$_LANGMAIL['Message from %1$s %2$s'] = 'Message from %1$s %2$s';$_LANGMAIL['Your order has been changed'] = 'Your order has been changed';$_LANGMAIL['Welcome!'] = 'Welcome!';$_LANGMAIL['New credit slip regarding your order'] = 'New credit slip regarding your order';$_LANGMAIL['Fwd: Customer message'] = 'Fwd: Customer message';$_LANGMAIL['Package in transit'] = 'Package in transit';$_LANGMAIL['Order confirmation'] = 'Order confirmation';$_LANGMAIL['Message from a customer'] = 'Message from a customer';$_LANGMAIL['New message regarding your order'] = 'New message regarding your order';$_LANGMAIL['Process the payment of your order'] = 'Process the payment of your order';$_LANGMAIL['Log: You have a new alert from your shop'] = 'Log: You have a new alert from your shop';$_LANGMAIL['Your new password'] = 'Your new password';$_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'An answer to your message is available #ct%1$s #tc%2$s';$_LANGMAIL['%1$s sent you a link to %2$s'] = '%1$s sent you a link to %2$s'; PS: If i change the english language to another one, everytime i update to newer prestashop i lose my translations? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now