Jump to content
leonardodestefanis

Where is the "Import Translations" in PS 1.7?

Recommended Posts

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!

 

qYp2qOA.png

 

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?

Share this post


Link to post
Share on other sites

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!

 

qYp2qOA.png

 

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 section

In 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,

Share this post


Link to post
Share on other sites

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 by daxit_x (see edit history)

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

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:

  1. Go to Admin>International>Translations>Export a language>Choose language and Your original theme>Export - You get to download zip file
  2. 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)
  3. Connect via ftp to new shop where You want to import translation. Put files from step 2 into dir /themes/THEMENAME/translations/LANGUAGE
  4. Clear cache

Works best if new theme is similar or the same.

Share this post


Link to post
Share on other sites

You are right! Prestashop translations are awful, they got the chance to fix this issue, and they made it worse.

  1. I have a custom theme with empty "translations/it-IT" folder.
  2. 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.
  3. 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!
  4. 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.
  5. 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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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