Pregunta

I need to figure out whether I use the html in Magento 2 translation dictionaries For example I have this translation dictionaries file in which there are many relevant messages

\vendor\magento\module-advanced-checkout\i18n\en_US.csv

For instance if I want to use some html like let say I want to bold some word in the predefined message. Can I use the html translation dictionaries file if yes then how I use it and if no then tell me the other way to do html related changes to translation dictionaries messages?

I already use some of the Html tags in translation dictionaries file but it's not working

Any help, experience and knowledge sharing would be appreciated.

No hay solución correcta

Otros consejos

I think it is not possible because translation dictionary is not intended for Hypertext Markup formatting. As translation dictionary is a comma separated value (.csv) file used only to localize Magento storefronts.
So there is no way to use it to for text element formatting.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange
scroll top