Magento 2 Localization Adding Links in CSV
-
05-03-2021 - |
Question
How to add text with link in csv file of a module. For example,
"An error occurred"
I want to add text with link like below for this message.
"An error occurred.Please contact our customer service<a href="http://some-link">here</a>
Solution
Try Following Way..
i have converted French langugae
"An error occurred.Please contact our customer service<a href=""%1"">here</a>","Une erreur est survenue.Veuillez contacter notre service clientèle<a href=""%1"">ici/a>"
and direct link add below way...
See PayPal Feature Support details and list of supported regions<a href=""https://developer.paypal.com/docs/classic/express-checkout/in-context/"" target=""_blank"">here</a>.","Voir les détails PayPal des fonctionnalité de support et de la liste des régions prises en charge <a href=""https://developer.paypal.com/docs/classic/express-checkout/in-context/"" target=""_blank"">ici</a>."
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange