magefan / module-translation

Translate your store with the Magento 2 Translation Extension directly from the admin panel. Buttons, labels, products and more...

Home Page:https://magefan.com/magento-2-translation-extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line feeds \n vs. \r\n

p24-max opened this issue · comments

The column translation.string need to match 100% to the magento original text. When wrong line feed is used, translation is not applied. I had some entires in translation.string which made use of \n line feed, and after an translation-text-update with this module it turned into \r\n which broke the translation at all. Maybe this only happens when using this tool with a windows computer.

@p24-max , thank you for your report. Could you please try this fix https://github.com/magefan/module-translation/pull/25/files

Don't forget about bin/magento setup:di:compile

Let us know if it solves the issue.

Hi @magefan , we tested this now for approx. 1 week and the issue did not occur again.
So this PR fixes the issue. Thanks for your efforts!

@p24-max , just want you to know that there is a new extension version 2.2.7 with this fix