<?= $block->escapeHtml(__(
    'You added product %1 to the <a href="%2">comparison list</a>.',

I have Swedish store view as well and this text is not translated in to Swedish How can I translate it into swedish


you can do this way..


"You added product %1 to the <a href=""%2"">comparison list</a>.","You added product %1 to the <a href=""%2"">comparison list</a>."

Right side you can add your translation word and after clear cache

  • No It did not worked for me – Anonymous Record Apr 30 '20 at 12:35
  • @HafsaZulfiqar first you check where is your language file then add it then cache clear or run deploy command – Rakesh Donga Apr 30 '20 at 14:27
  • I have child the,e and added in i18n/sv_SE.csv but when I run deploy command then the changes are not reverting and not even deployed in pub folder – Anonymous Record May 1 '20 at 7:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.