SuperDuper Posted December 20, 2010 Share Posted December 20, 2010 Hello,How can I apply the description to All Languages without copy & paste??Because I am using images as the description.But I need to copy & paste the content to all languages.....it's time consuming...Could anyone please teach me how to achieve that?Thank you. Link to comment Share on other sites More sharing options...
SuperDuper Posted December 21, 2010 Author Share Posted December 21, 2010 Any ideas?? :shut: Link to comment Share on other sites More sharing options...
rocky Posted December 21, 2010 Share Posted December 21, 2010 You can't do that in the Back Office. You must copy and paste. That's what I do.I suppose you could use an SQL query to copy the English text into the other languages. For example: INSERT INTO `ps_product_lang` SELECT `id_product`, 2, `description`, `description_short`, `link_rewrite`, `meta_description`, `meta_keywords`, `meta_title`, `name`, `available_now`, `available_later` FROM `ps_product_lang` WHERE `id_lang` = 1 Change ps_ to your database prefix. This should copy all the product language from language 1 (English) to language 2 (French). You could change 2 to 3 to copy it to Spanish too.Remember to back up your ps_product_lang table first in case anything goes wrong. Link to comment Share on other sites More sharing options...
SuperDuper Posted December 21, 2010 Author Share Posted December 21, 2010 There is a risk to do that.I think I will still copying and pasting for the content.Thank you rocky. Link to comment Share on other sites More sharing options...
tomitos Posted June 17, 2011 Share Posted June 17, 2011 After few tries I did succedded. There was language error for one language only. ************Hi Rocky (or anybody else:)I am trying to copy text from language with id 3 to language with id 6 but for now with no success.What exactly should I put in SQL query?Thanks in advance. Link to comment Share on other sites More sharing options...
rocky Posted June 17, 2011 Share Posted June 17, 2011 Just change the IDs. For example: INSERT INTO `ps_product_lang` SELECT `id_product`, 6, `description`, `description_short`, `link_rewrite`, `meta_description`, `meta_keywords`, `meta_title`, `name`, `available_now`, `available_later` FROM `ps_product_lang` WHERE `id_lang` = 3 2 Link to comment Share on other sites More sharing options...
tomitos Posted June 19, 2011 Share Posted June 19, 2011 Hi Rocky,thanks once more. Works fine Tomaz Link to comment Share on other sites More sharing options...
MartijnT2 Posted July 23, 2011 Share Posted July 23, 2011 Isn't there a way to configure this as a default behaviour? So displaying the description of the default language in all other languages, unless specified. I've got the same problem with a shop I created. It's got 5 languages. The main purpose for the languages, is making the categories, information blocks, order and account controls in the customers native language. The name of the products and description must be just in English (default language). I'm sure there are a lot of people around there with the same problem. Creating custom SQL queries and executing them in phpmyadmin is hard to teach a store manager... Link to comment Share on other sites More sharing options...
tomerg3 Posted July 23, 2011 Share Posted July 23, 2011 It's not a good idea to have multiple languages and only translate categories, that will make your pages over 90% identical (between all 5 languages) which will get you a penalty from search engines. Why not translate the entire product info, that will also generate more keywords on your site in different languages, which will help with search engines... Link to comment Share on other sites More sharing options...
MartijnT2 Posted July 23, 2011 Share Posted July 23, 2011 We don't have the description in other languages than English. The only options are now: 1. Copy/paste it every time, also after a correction. and double check because a mistake is easily made (already happened too much times) 2. Accept the limitation of prestashop and leave the description empty in other languages or 3. Remove 3 languages and keep the 2 most important onces 4. Keep asking for help and find a way to do it automatically so we don't have to make consessions Is there anyone who can help with option 4? Link to comment Share on other sites More sharing options...
OC2PS Posted July 23, 2011 Share Posted July 23, 2011 I think there's potential for improvement here. After the admin inputs the description for the default language, the descriptions of other languages should/could be populated with either: 1) Exactly the same (description in default language), or 2) Google Translate versions of description in respective language, translated from description in default language, depending on which option the admin has chose in settings. #2 is particularly good as it helps save a lot of time...instead of translating everything into 10 languages, the admin just has to correct the Google translations...which is still a lot of work, but a lot less than having to do the whole thing by hand... Link to comment Share on other sites More sharing options...
MartijnT2 Posted July 25, 2011 Share Posted July 25, 2011 Is there a way to make this an official feature request? Link to comment Share on other sites More sharing options...
MartijnT2 Posted July 26, 2011 Share Posted July 26, 2011 Bump Link to comment Share on other sites More sharing options...
OC2PS Posted July 26, 2011 Share Posted July 26, 2011 Is there a way to make this an official feature request? I did. Vote here: http://forge.prestashop.com/browse/PSTP-3 1 Link to comment Share on other sites More sharing options...
MartijnT2 Posted July 27, 2011 Share Posted July 27, 2011 Is there a way to make this an official feature request? I did. Vote here: http://forge.prestashop.com/browse/PSTP-3 Thanks! I gave a +1 vote. Hope more people will agree. Link to comment Share on other sites More sharing options...
hellotheworld Posted August 1, 2011 Share Posted August 1, 2011 +1 Link to comment Share on other sites More sharing options...
rizham Posted August 2, 2011 Share Posted August 2, 2011 After the admin inputs the description for the default language, the descriptions of other languages should/could be populated Link to comment Share on other sites More sharing options...
OC2PS Posted November 27, 2011 Share Posted November 27, 2011 Any updates, Patric? Link to comment Share on other sites More sharing options...
davers44 Posted February 25, 2012 Share Posted February 25, 2012 +1 Link to comment Share on other sites More sharing options...
DylzEn Posted July 30, 2012 Share Posted July 30, 2012 +1 Link to comment Share on other sites More sharing options...
Treehugger Posted October 7, 2012 Share Posted October 7, 2012 Hi, Sorry to bother you.. I'm encoutering a similiar problem. I want to update the description_short from my main language to all others. To be honest I am not too familiar with MySQL/PHPMyAdmin. So I copied the ps_product_lang to ps_src_product_lang and deleted all but the main language rows. Then I coped the ps_product_lang to ps_try_product_lang in order to try-on-error without messing up the original db. Finally I tried something like this: UPDATE 'ps_try_product_lang' SET `description_short`=(select `description_short` from 'ps_src_product_lang') WHERE 'ps_try_product_lang.id_product' = 'ps_src_product_lang.id_product' But it didn't work as you might guess - otherwise I wouldn't have come up here Any hint appreciated ... I'm desperated and facing 500 products to manully copy/paste through the Shop Commander (which is helpful though) BR Antonio Link to comment Share on other sites More sharing options...
acobo Posted November 14, 2012 Share Posted November 14, 2012 It's not possible to vote anymore...did you find any solution? Thanks! Link to comment Share on other sites More sharing options...
Treehugger Posted November 14, 2012 Share Posted November 14, 2012 I did it with SQL. It might be an akward and complicated way but it did what I wanted in the end. 1. In PHPMyAdmin I opend my database, selected the product_lang table and exported just the language that I wanted as source to another new table. 2. I replaced all descriptions with the descriptions of the table that I just had exported. This worked for me. Link to comment Share on other sites More sharing options...
acobo Posted November 14, 2012 Share Posted November 14, 2012 Thank you Treehugger, I'll try... Link to comment Share on other sites More sharing options...
Treehugger Posted November 14, 2012 Share Posted November 14, 2012 Glad to help ... If you need detailed information on how I exported and the SQL I applied let me know. 1 Link to comment Share on other sites More sharing options...
vps Posted November 16, 2013 Share Posted November 16, 2013 Hi there, I am using ps 1.5.6 and i have en and es language in use, can anyoane help me to move 'description' and 'short_description' for all intems from en wich has lang_id 1 to es lang_id 3. I want just those fields to send from en to es please. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts