Magento 2 - Translation dictionaries query regarding using html The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Use cases for different JS init methodsMagento 2 - extend core module translation i18n for a very specific areaHTML Head issue using Magento2Magento 2 : Priority of translation, proper wayOverriding .phtml templaterabbitmq queue - order, turn on/offMagento 2 - Issue on override of Multishipping checkout modelHow to update success/error message using PLUGIN in Magento 2?Magento 2 - language override phtmlMagento 2 - Delete Single page cache

Identify 80s or 90s comics with ripped creatures (not dwarves)

What can I do if neighbor is blocking my solar panels intentionally?

"is" operation returns false even though two objects have same id

Does Parliament hold absolute power in the UK?

number sequence puzzle deep six

Can a flute soloist sit?

Does Parliament need to approve the new Brexit delay to 31 October 2019?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

How did passengers keep warm on sail ships?

Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?

What is the padding with red substance inside of steak packaging?

Pretty sure I'm over complicating my loops but unsure how to simplify

How to make Illustrator type tool selection automatically adapt with text length

Are spiders unable to hurt humans, especially very small spiders?

Is every episode of "Where are my Pants?" identical?

how can a perfect fourth interval be considered either consonant or dissonant?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

How do spell lists change if the party levels up without taking a long rest?

Word for: a synonym with a positive connotation?

What information about me do stores get via my credit card?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Fixing different display colors within string

Word to describe a time interval



Magento 2 - Translation dictionaries query regarding using html



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Use cases for different JS init methodsMagento 2 - extend core module translation i18n for a very specific areaHTML Head issue using Magento2Magento 2 : Priority of translation, proper wayOverriding .phtml templaterabbitmq queue - order, turn on/offMagento 2 - Issue on override of Multishipping checkout modelHow to update success/error message using PLUGIN in Magento 2?Magento 2 - language override phtmlMagento 2 - Delete Single page cache



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















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



vendormagentomodule-advanced-checkouti18nen_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.










share|improve this question






























    1















    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



    vendormagentomodule-advanced-checkouti18nen_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.










    share|improve this question


























      1












      1








      1


      3






      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



      vendormagentomodule-advanced-checkouti18nen_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.










      share|improve this question
















      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



      vendormagentomodule-advanced-checkouti18nen_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.







      magento2 html translation-dictionaries






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 9 at 6:27









      Muhammad Anas

      607318




      607318










      asked Apr 9 at 4:49









      Muhammad HashamMuhammad Hasham

      2,8182831




      2,8182831




















          1 Answer
          1






          active

          oldest

          votes


















          1














          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.






          share|improve this answer























          • Thanks for your answer but it is not as simple as you think. if that is the case then how do anchor tag use in this translation file like <a href=""%1"">click here</a> ? check magento 2 core file vendormagentomodule-advanced-checkouti18nen_US.csv for reference.

            – Muhammad Hasham
            Apr 9 at 5:50












          • sorry mate can't check it right now I'm only using mobile. but I think they are generated because they are as theme strings

            – magefms
            Apr 9 at 6:04











          • can you check from here devdocs.magento.com/guides/v2.3/frontend-dev-guide/translations/…

            – magefms
            Apr 9 at 6:06






          • 1





            I already checked this, this is for how we can use theme strings in phtml file. I still feel there is way to do some html related changes to translation dictionaries messages whether you made changes in csv or other way

            – Muhammad Hasham
            Apr 9 at 6:09







          • 1





            That is not completely what I looking for. I need a way to do html related changes to translation related message because some of the tutorial suggested me to made changes in csv file. if you said it is not possible I can accept your claim because I don't have much research on this one but tell me other way to do html related changes to translation dictionaries messages (as I mentioned in my question). Still for your effort. +1

            – Muhammad Hasham
            Apr 9 at 6:23











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269268%2fmagento-2-translation-dictionaries-query-regarding-using-html%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          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.






          share|improve this answer























          • Thanks for your answer but it is not as simple as you think. if that is the case then how do anchor tag use in this translation file like <a href=""%1"">click here</a> ? check magento 2 core file vendormagentomodule-advanced-checkouti18nen_US.csv for reference.

            – Muhammad Hasham
            Apr 9 at 5:50












          • sorry mate can't check it right now I'm only using mobile. but I think they are generated because they are as theme strings

            – magefms
            Apr 9 at 6:04











          • can you check from here devdocs.magento.com/guides/v2.3/frontend-dev-guide/translations/…

            – magefms
            Apr 9 at 6:06






          • 1





            I already checked this, this is for how we can use theme strings in phtml file. I still feel there is way to do some html related changes to translation dictionaries messages whether you made changes in csv or other way

            – Muhammad Hasham
            Apr 9 at 6:09







          • 1





            That is not completely what I looking for. I need a way to do html related changes to translation related message because some of the tutorial suggested me to made changes in csv file. if you said it is not possible I can accept your claim because I don't have much research on this one but tell me other way to do html related changes to translation dictionaries messages (as I mentioned in my question). Still for your effort. +1

            – Muhammad Hasham
            Apr 9 at 6:23















          1














          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.






          share|improve this answer























          • Thanks for your answer but it is not as simple as you think. if that is the case then how do anchor tag use in this translation file like <a href=""%1"">click here</a> ? check magento 2 core file vendormagentomodule-advanced-checkouti18nen_US.csv for reference.

            – Muhammad Hasham
            Apr 9 at 5:50












          • sorry mate can't check it right now I'm only using mobile. but I think they are generated because they are as theme strings

            – magefms
            Apr 9 at 6:04











          • can you check from here devdocs.magento.com/guides/v2.3/frontend-dev-guide/translations/…

            – magefms
            Apr 9 at 6:06






          • 1





            I already checked this, this is for how we can use theme strings in phtml file. I still feel there is way to do some html related changes to translation dictionaries messages whether you made changes in csv or other way

            – Muhammad Hasham
            Apr 9 at 6:09







          • 1





            That is not completely what I looking for. I need a way to do html related changes to translation related message because some of the tutorial suggested me to made changes in csv file. if you said it is not possible I can accept your claim because I don't have much research on this one but tell me other way to do html related changes to translation dictionaries messages (as I mentioned in my question). Still for your effort. +1

            – Muhammad Hasham
            Apr 9 at 6:23













          1












          1








          1







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 9 at 5:45









          magefmsmagefms

          2,6342528




          2,6342528












          • Thanks for your answer but it is not as simple as you think. if that is the case then how do anchor tag use in this translation file like <a href=""%1"">click here</a> ? check magento 2 core file vendormagentomodule-advanced-checkouti18nen_US.csv for reference.

            – Muhammad Hasham
            Apr 9 at 5:50












          • sorry mate can't check it right now I'm only using mobile. but I think they are generated because they are as theme strings

            – magefms
            Apr 9 at 6:04











          • can you check from here devdocs.magento.com/guides/v2.3/frontend-dev-guide/translations/…

            – magefms
            Apr 9 at 6:06






          • 1





            I already checked this, this is for how we can use theme strings in phtml file. I still feel there is way to do some html related changes to translation dictionaries messages whether you made changes in csv or other way

            – Muhammad Hasham
            Apr 9 at 6:09







          • 1





            That is not completely what I looking for. I need a way to do html related changes to translation related message because some of the tutorial suggested me to made changes in csv file. if you said it is not possible I can accept your claim because I don't have much research on this one but tell me other way to do html related changes to translation dictionaries messages (as I mentioned in my question). Still for your effort. +1

            – Muhammad Hasham
            Apr 9 at 6:23

















          • Thanks for your answer but it is not as simple as you think. if that is the case then how do anchor tag use in this translation file like <a href=""%1"">click here</a> ? check magento 2 core file vendormagentomodule-advanced-checkouti18nen_US.csv for reference.

            – Muhammad Hasham
            Apr 9 at 5:50












          • sorry mate can't check it right now I'm only using mobile. but I think they are generated because they are as theme strings

            – magefms
            Apr 9 at 6:04











          • can you check from here devdocs.magento.com/guides/v2.3/frontend-dev-guide/translations/…

            – magefms
            Apr 9 at 6:06






          • 1





            I already checked this, this is for how we can use theme strings in phtml file. I still feel there is way to do some html related changes to translation dictionaries messages whether you made changes in csv or other way

            – Muhammad Hasham
            Apr 9 at 6:09







          • 1





            That is not completely what I looking for. I need a way to do html related changes to translation related message because some of the tutorial suggested me to made changes in csv file. if you said it is not possible I can accept your claim because I don't have much research on this one but tell me other way to do html related changes to translation dictionaries messages (as I mentioned in my question). Still for your effort. +1

            – Muhammad Hasham
            Apr 9 at 6:23
















          Thanks for your answer but it is not as simple as you think. if that is the case then how do anchor tag use in this translation file like <a href=""%1"">click here</a> ? check magento 2 core file vendormagentomodule-advanced-checkouti18nen_US.csv for reference.

          – Muhammad Hasham
          Apr 9 at 5:50






          Thanks for your answer but it is not as simple as you think. if that is the case then how do anchor tag use in this translation file like <a href=""%1"">click here</a> ? check magento 2 core file vendormagentomodule-advanced-checkouti18nen_US.csv for reference.

          – Muhammad Hasham
          Apr 9 at 5:50














          sorry mate can't check it right now I'm only using mobile. but I think they are generated because they are as theme strings

          – magefms
          Apr 9 at 6:04





          sorry mate can't check it right now I'm only using mobile. but I think they are generated because they are as theme strings

          – magefms
          Apr 9 at 6:04













          can you check from here devdocs.magento.com/guides/v2.3/frontend-dev-guide/translations/…

          – magefms
          Apr 9 at 6:06





          can you check from here devdocs.magento.com/guides/v2.3/frontend-dev-guide/translations/…

          – magefms
          Apr 9 at 6:06




          1




          1





          I already checked this, this is for how we can use theme strings in phtml file. I still feel there is way to do some html related changes to translation dictionaries messages whether you made changes in csv or other way

          – Muhammad Hasham
          Apr 9 at 6:09






          I already checked this, this is for how we can use theme strings in phtml file. I still feel there is way to do some html related changes to translation dictionaries messages whether you made changes in csv or other way

          – Muhammad Hasham
          Apr 9 at 6:09





          1




          1





          That is not completely what I looking for. I need a way to do html related changes to translation related message because some of the tutorial suggested me to made changes in csv file. if you said it is not possible I can accept your claim because I don't have much research on this one but tell me other way to do html related changes to translation dictionaries messages (as I mentioned in my question). Still for your effort. +1

          – Muhammad Hasham
          Apr 9 at 6:23





          That is not completely what I looking for. I need a way to do html related changes to translation related message because some of the tutorial suggested me to made changes in csv file. if you said it is not possible I can accept your claim because I don't have much research on this one but tell me other way to do html related changes to translation dictionaries messages (as I mentioned in my question). Still for your effort. +1

          – Muhammad Hasham
          Apr 9 at 6:23

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269268%2fmagento-2-translation-dictionaries-query-regarding-using-html%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

          Magento2 - How to hide price filter only in specific categories?Multiselect price filter attribute in layered navigationhide only some categories from layered navigation in magentoRemove Price Filter on certain categoriescustomize layered price filter?Hide Price for a particular customer groupPrice filter in layered navigation not working correctly with price including tax in magento 2.2.3Magento 2 how to hide attribute at Layered navigation?Magento 2. how to hide price only for specific categoriesMagento 2 How can I hide the price and total from cart and checkout summary?Magento2: Can we add navigation layered filter like price filter for other attribute?