Bob van der Valk Posted February 6, 2020 Share Posted February 6, 2020 (edited) Hello, I have a problem with languages in PS 1.7.6.0 I installed PS with the Polish language and Polish is my default language of the shop. One administrator works in Polish while I am setting up the shop as an English language admin. The shop works fine in Polish but the order confirmation mail is sent in English, not in Polish. When I go in Admin to International / translations and select Polish, only the subject part is translated into Polish, not the body part. All Polish translations in the MAILS/PL/ section are in English when I login as an English admin or as a Polish admin. There is a blue message. For the account mail: "No Subject was found for account in the database". I am using the classic theme. Can somebody tell me what is wrong? Why are these mails in English? Edited February 7, 2020 by Bob van der Valk (see edit history) Link to comment Share on other sites More sharing options...
Bob van der Valk Posted February 6, 2020 Author Share Posted February 6, 2020 This problem is probably fixed. During the installation process, the myshop/mails/pl folder must have been filled with English files... I copied the same /pl folder from an older install and I get the Polish translations now in the Translations editor. Probably it will send Polish mails now too. Link to comment Share on other sites More sharing options...
Bob van der Valk Posted February 7, 2020 Author Share Posted February 7, 2020 Problem is solved. Mails/pl folder contained English files, also the modules/ps_emailalerts/mails/pl folder contained English files. I can edit these mails in admin now, so problem is solved. Link to comment Share on other sites More sharing options...
Bob van der Valk Posted February 7, 2020 Author Share Posted February 7, 2020 This forum is completely useless 2 Link to comment Share on other sites More sharing options...
hstrom Posted January 19, 2021 Share Posted January 19, 2021 Did you manage to solve the issue regarding the account mail: "No Subject was found for account in the database"? I can't fnd any information on how to alter these system email subjects...? With kind regards, - Johan. Link to comment Share on other sites More sharing options...
Inform-All Posted July 23, 2021 Share Posted July 23, 2021 On 2/7/2020 at 5:13 PM, Bob van der Valk said: This forum is completely useless You are mad that people did not spend their free time to help you within 1 day, because you have a problem...? Link to comment Share on other sites More sharing options...
Dinu Tiberiu Posted May 5, 2022 Share Posted May 5, 2022 (edited) Found this bug in PS 1.7.5.2 & PS 1.7.6.0: Related to the post. No mail templates in the new language installed. If anyone in the future will have this problem with the translation emails, after the translation is made automatically by prestashop, they can find them in << translations >> folder in the << root >> folder in form of a zip file. unzip and copy the core txt and html files in your theme folder in mails. the second folder will have the modules you have installed or by default on ps. copy them and paste them in there folders in your wanted translation folder. if the translation folder not exists, make it (ex: fr / ex: de) . after you do this, go to root/controllers/admin/ and look for AdminTranslationsController.php Open the file and find << function redirect($save_and_stay >> in the second elseif, were is ($save_and_stay) change '&theme=' with '&selected-theme='; and save the file. The save is global on the files that are opened and it will stay on page and you will now have all the translations for the new language for the emails, newsletters and so on. Edited May 5, 2022 by Dinu Tiberiu (see edit history) 1 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