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;
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
add a comment |
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
add a comment |
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
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
magento2 html translation-dictionaries
edited Apr 9 at 6:27
Muhammad Anas
607318
607318
asked Apr 9 at 4:49
Muhammad HashamMuhammad Hasham
2,8182831
2,8182831
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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 filevendormagentomodule-advanced-checkouti18nen_US.csvfor 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
|
show 4 more comments
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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 filevendormagentomodule-advanced-checkouti18nen_US.csvfor 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
|
show 4 more comments
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.
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 filevendormagentomodule-advanced-checkouti18nen_US.csvfor 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
|
show 4 more comments
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.
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.
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 filevendormagentomodule-advanced-checkouti18nen_US.csvfor 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
|
show 4 more comments
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 filevendormagentomodule-advanced-checkouti18nen_US.csvfor 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
|
show 4 more comments
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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