Jump to content

Language Pack mails directory messed up


Recommended Posts

I install the German language pack from the download page to.

In the English version of account.txt in the mails directory I have this

Hi {firstname} {lastname},

Thank you for creating your account at {shop_name}.



In the German version it looks like this

Hallo {firstname} {lastname},\r\n\r\nVielen Dank das Sie sich bei {shop_name} angemeldet haben.\r\n\r\nIhre Benutzerdaten:\r\n\r\nE-Mailadresse: {email}\r\nPasswort: {passwd}\r\n\r\nSie können nun Bestellungen in unserem Shop tätigen: {shop_url}\r\n\r\nSicherheitstipps:\r\n\r\n* Halten Sie Ihre Kontodaten geheim.\r\n* Sagen Sie nicht Ihre Login-Daten an Dritte weiter.\r\n* Ändern Sie Ihr Passwort regelmäßig.\r\n* Sollten Sie vermuten, dass jemand mit Ihrem Konto illegal wird, benachrichtigen Sie uns bitte sofort.\r\n\r\n\r\n{shop_url} powered by PrestaShop™



Something is clearly wrong. All other file in the mails directory are similarly messed up. The same applies to the Italian language pack (for example)

What to do?

Link to comment
Share on other sites

I install the German language pack from the download page to.

In the English version of account.txt in the mails directory I have this

Hi {firstname} {lastname},

Thank you for creating your account at {shop_name}.



In the German version it looks like this

Hallo {firstname} {lastname},\r\n\r\nVielen Dank das Sie sich bei {shop_name} angemeldet haben.\r\n\r\nIhre Benutzerdaten:\r\n\r\nE-Mailadresse: {email}\r\nPasswort: {passwd}\r\n\r\nSie können nun Bestellungen in unserem Shop tätigen: {shop_url}\r\n\r\nSicherheitstipps:\r\n\r\n* Halten Sie Ihre Kontodaten geheim.\r\n* Sagen Sie nicht Ihre Login-Daten an Dritte weiter.\r\n* Ändern Sie Ihr Passwort regelmäßig.\r\n* Sollten Sie vermuten, dass jemand mit Ihrem Konto illegal wird, benachrichtigen Sie uns bitte sofort.\r\n\r\n\r\n{shop_url} powered by PrestaShop™



Something is clearly wrong. All other file in the mails directory are similarly messed up. The same applies to the Italian language pack (for example)

What to do?



I. remove all the \r and \n, or download the mail package for another site.
Link to comment
Share on other sites

remove all the \r and \n

This will leave me with
Hallo {firstname} {lastname},Vielen Dank das Sie sich bei {shop_name} ...



which is not much better.

download the mail package for another site


This I don't understand, sorry.

Thanks
Link to comment
Share on other sites

Just to be clear, this is NOT a problem with line breaks.

Inspection in a Hex editor confirms that the \r\n to which I refer is TEXT. There are no line breaks in the German version of account.txt

Why is this so?

Link to comment
Share on other sites

×
×
  • Create New...