leonardodestefanis Posted May 6, 2017 Share Posted May 6, 2017 Hi there,I'm trying to import a language translation file for a theme, but I can't see the importer that I had on PS 1.6.x! As you can see I only can add a language from the Prestashop website but It's not what I want to do. Any help? Link to comment Share on other sites More sharing options...
nadie Posted May 7, 2017 Share Posted May 7, 2017 Hi there, I'm trying to import a language translation file for a theme, but I can't see the importer that I had on PS 1.6.x! As you can see I only can add a language from the Prestashop website but It's not what I want to do. Any help? Check Link information official: http://build.prestashop.com/news/translation-news-171/ Removed import sectionIn the Translation page, the “Import” section is no longer available. You might be wondering why? With the 1.7 version and the new translation system, you can’t simply import translation files to see your shop fully translated. The files need to be processed and adapted to PrestaShop, particularly the email files. So we simply removed the option to avoid false hopes and confusion. You’re next question will probably be “why keeping the export section then?”. Well, the export section is still useful for theme builders who will want to export the custom translations they made for their themes. Sorry for my English, Link to comment Share on other sites More sharing options...
leonardodestefanis Posted May 7, 2017 Author Share Posted May 7, 2017 This is so frustrating, I can't modify translations of my theme into PS because my provider give me just a little bit of resource. How can I do? Link to comment Share on other sites More sharing options...
daxit_x Posted December 23, 2017 Share Posted December 23, 2017 (edited) Hello This is a a big flaw of prestashop 1.7. Any suggestion or workaround to import complete translations from a prestashop 1.7 installation to another new prestashop 1.7 installation? Thank you. Edited December 23, 2017 by daxit_x (see edit history) Link to comment Share on other sites More sharing options...
Andrey Britoff Posted December 29, 2017 Share Posted December 29, 2017 On 23.12.2017 at 2:51 AM, daxit_x said: Hello This is a a big flaw of prestashop 1.7. Any suggestion or workaround to import complete translations from a prestashop 1.7 installation to another new prestashop 1.7 installation? Thank you. You need paste translation files in you theme translation folder and clear cache. Link to comment Share on other sites More sharing options...
Webstartconsulting Posted February 4, 2018 Share Posted February 4, 2018 On 2017. 12. 29. at 5:50 PM, Andrey Britoff said: You need paste translation files in you theme translation folder and clear cache. In /translation folder? So if i translate one shop (ps.1.7) i can copy the whole translations to another new ps (1.7)? How? Link to comment Share on other sites More sharing options...
muzicankan Posted February 7, 2018 Share Posted February 7, 2018 hello; where is the theme translation folder? Link to comment Share on other sites More sharing options...
sitte Posted July 3, 2018 Share Posted July 3, 2018 Hello. It is true that Prestashop translation system is awful. I always have to search for right way to translate and it's for every shop we made. Awful. I just found some solution. Base translations are in app/Resources/translations/ Additionally translations are in theme folder i.e. /themes/THEMENAME/translations/ To tranfer translations from one shop to another: Go to Admin>International>Translations>Export a language>Choose language and Your original theme>Export - You get to download zip file Extract zip and find and replace all occurences of original theme dir to new theme dir (in old shop I got /themes/leo_bicmart/ theme, in new one I have /themes/leo_unicus so I replace all occurences of leo_bicmart with leo_unicus) Connect via ftp to new shop where You want to import translation. Put files from step 2 into dir /themes/THEMENAME/translations/LANGUAGE Clear cache Works best if new theme is similar or the same. 1 Link to comment Share on other sites More sharing options...
zod Posted September 3, 2019 Share Posted September 3, 2019 You are right! Prestashop translations are awful, they got the chance to fix this issue, and they made it worse. I have a custom theme with empty "translations/it-IT" folder. I use the BO functionality to translate over 250 missing translations. BUT: 6 of them are not saved, no matter how many times i save them. ALSO: some strings appeared to be "translated" but they are not! In fact they are saved in english (i wonder when and why the fields were populated by english strings), so i had to re-check the whole lot of strings to change them. Result: front office is not translated! I open the file system, the theme language folder is still empty (why???), where does Prestashop stored them??? I then exported the langueges and uploaded them manually in that folder, cleaned smarty cache, forced templates rebuild. NOTHING! Front office not translated! I open in BO and try to save the 6 missing strings again. Nothing. I check the "english" ones, they are in italian so Prestashop saved them somewhere, but they are not showing in Front Office. I go back in file system, the date/time of all files are untouched, this means that Prestashop never overrided my last BO changes on those files. I have no other ideas. Where and how this damn system is saving the theme translations? And why the files in the theme are not used? But more than anything else, why the FO is not working at all? Link to comment Share on other sites More sharing options...
ANGELO Vintage Posted November 28, 2019 Share Posted November 28, 2019 please vote for import feature here: http://feedback.prestashop.com/forums/387864-prestashop-1-7-x/suggestions/36193582-translation-import Link to comment Share on other sites More sharing options...
prospect Posted June 9, 2020 Share Posted June 9, 2020 On 9/3/2019 at 5:28 PM, zod said: You are right! Prestashop translations are awful, they got the chance to fix this issue, and they made it worse. I have a custom theme with empty "translations/it-IT" folder. I use the BO functionality to translate over 250 missing translations. BUT: 6 of them are not saved, no matter how many times i save them. ALSO: some strings appeared to be "translated" but they are not! In fact they are saved in english (i wonder when and why the fields were populated by english strings), so i had to re-check the whole lot of strings to change them. Result: front office is not translated! I open the file system, the theme language folder is still empty (why???), where does Prestashop stored them??? I then exported the langueges and uploaded them manually in that folder, cleaned smarty cache, forced templates rebuild. NOTHING! Front office not translated! I open in BO and try to save the 6 missing strings again. Nothing. I check the "english" ones, they are in italian so Prestashop saved them somewhere, but they are not showing in Front Office. I go back in file system, the date/time of all files are untouched, this means that Prestashop never overrided my last BO changes on those files. I have no other ideas. Where and how this damn system is saving the theme translations? And why the files in the theme are not used? But more than anything else, why the FO is not working at all? This is a huge prestashop problem in all it's versions Link to comment Share on other sites More sharing options...
ej.farsta Posted July 8, 2020 Share Posted July 8, 2020 On 7/3/2018 at 4:19 PM, sitte said: Hello. It is true that Prestashop translation system is awful. I always have to search for right way to translate and it's for every shop we made. Awful. I just found some solution. Base translations are in app/Resources/translations/ Additionally translations are in theme folder i.e. /themes/THEMENAME/translations/ To tranfer translations from one shop to another: Go to Admin>International>Translations>Export a language>Choose language and Your original theme>Export - You get to download zip file Extract zip and find and replace all occurences of original theme dir to new theme dir (in old shop I got /themes/leo_bicmart/ theme, in new one I have /themes/leo_unicus so I replace all occurences of leo_bicmart with leo_unicus) Connect via ftp to new shop where You want to import translation. Put files from step 2 into dir /themes/THEMENAME/translations/LANGUAGE Clear cache Works best if new theme is similar or the same. Works! 1 Link to comment Share on other sites More sharing options...
zod Posted July 8, 2020 Share Posted July 8, 2020 After a deeper research I finally got it and I can solve 99% of the problems involving translations! The situation is a bit complicated because Prestashop gets the strings from different sources: some strings are saved in database with domains (and some are from theme domain, others from module domain), then some others are from XLF files, and finally some modules are saved in the old system (like PS 1.6). I explain the whole thing in this post: Link to comment Share on other sites More sharing options...
Open Presta Posted May 24, 2022 Share Posted May 24, 2022 see https://www.myprestastore.com/downloads/import-export-translations-po-xlf-prestashop/ 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