How to rename currency name?Adding Currency Switcher in headerMagento 2 use symbol instead of name in currency switcherOverride modules phtml in luma ThemeMagento 2:i18n folder to custom themeHow to change the ISO currency code in the Magento core?Currency switcher not working for currency AED in Magento 2how to add currency switcher dropdown in magento2 custom headerAED-SAR and SAR-AED currency Switching magento 2.1.7Magento 2 Currency Switch Dropdown - Remove currency nameMagento 2 Moving Currency Switcher
Why does the 6502 have the BIT instruction?
Is there a public standard for 8 and 10 character grid locators?
How do I align equations in three columns, justified right, center and left?
Command to Search for Filenames Exceeding 143 Characters?
Python program to convert a 24 hour format to 12 hour format
ECDSA - why not using the cyclic additive group
Why are C64 games inconsistent with which joystick port they use?
Different circular sectors as new logo of the International System
General purpose replacement for enum with FlagsAttribute
When do characters level up?
Does linking adjectives allow you to talk about multiple variations of something?
Rename photos to match video titles
What is the difference between “/private/var/vm” and “/vm”?
Looking for a soft substance that doesn't dissolve underwater
Does this degree 12 genus 1 curve have only one point over infinitely many finite fields?
Canon 70D often overexposing or underexposing shots
Is there a down side to setting the sampling time of a SAR ADC as long as possible?
At what point in European history could a government build a printing press given a basic description?
What are these arcade games in Ghostbusters 1984?
Can a wire having 610-670 THz (frequency of blue light) A.C frequency supply, generate blue light?
How many chess players are over 2500 Elo?
What is the 中 in ダウンロード中?
Under what law can the U.S. arrest International Criminal Court (ICC) judges over war crimes probe?
Is it ok to put a subplot to a story that is never meant to contribute to the development of the main plot?
How to rename currency name?
Adding Currency Switcher in headerMagento 2 use symbol instead of name in currency switcherOverride modules phtml in luma ThemeMagento 2:i18n folder to custom themeHow to change the ISO currency code in the Magento core?Currency switcher not working for currency AED in Magento 2how to add currency switcher dropdown in magento2 custom headerAED-SAR and SAR-AED currency Switching magento 2.1.7Magento 2 Currency Switch Dropdown - Remove currency nameMagento 2 Moving Currency Switcher
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
how can I change "AED - United Arab Emirates Dirham" to "AED - UAE Dirham" in Luma currency switcher?
I created en_US.csv file in my custom theme > i18n folder and added "united Arab Emirates" in the 1st column and "UAE" in the 2nd column. But still not working.

magento2 currency luma-theme currency-symbol
add a comment |
how can I change "AED - United Arab Emirates Dirham" to "AED - UAE Dirham" in Luma currency switcher?
I created en_US.csv file in my custom theme > i18n folder and added "united Arab Emirates" in the 1st column and "UAE" in the 2nd column. But still not working.

magento2 currency luma-theme currency-symbol
add a comment |
how can I change "AED - United Arab Emirates Dirham" to "AED - UAE Dirham" in Luma currency switcher?
I created en_US.csv file in my custom theme > i18n folder and added "united Arab Emirates" in the 1st column and "UAE" in the 2nd column. But still not working.

magento2 currency luma-theme currency-symbol
how can I change "AED - United Arab Emirates Dirham" to "AED - UAE Dirham" in Luma currency switcher?
I created en_US.csv file in my custom theme > i18n folder and added "united Arab Emirates" in the 1st column and "UAE" in the 2nd column. But still not working.

magento2 currency luma-theme currency-symbol
magento2 currency luma-theme currency-symbol
edited May 21 at 11:45
Kazim Noorani
1,1311724
1,1311724
asked May 21 at 9:23
ChathuraChathura
153
153
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Override currency.phtml file in your theme
app/design/frontend/vendore/theme/Magento_Directory/templates/currency.phtml
Change line number 35
<?= $block->escapeHtml($_code) ?> - <?= $block->escapeHtml($_name) ?>
to
<?= __($block->escapeHtml($_code)) ?> - <?= __($block->escapeHtml($_name)) ?>
Create app/design/frontend/vendore/theme/i18n/en_US.csv file and write below code
"United Arab Emirates Dirham","UAE Dirham"
Change line number 28
<?= $block->escapeHtml($currentCurrencyCode) ?> - <?= @$block->escapeHtml($currencies[$currentCurrencyCode]) ?>
to
<?= __($block->escapeHtml($currentCurrencyCode)) ?> - <?= __(@$block->escapeHtml($currencies[$currentCurrencyCode])) ?>
I hope it's useful for you.
It worked. but only for currency drop down. after select "UAE - Dirham" from dropdown, "AED - United Arab Emirates Dirham" remains on top. how to apply for both places?
– Chathura
May 21 at 10:51
Please check I update the ans.
– Sweety Masmiya
May 21 at 11:14
Yes now it's working. thank you so much :)
– Chathura
May 21 at 11:18
If my ans is useful than please give right. So another person also helpful.
– Sweety Masmiya
May 21 at 11:31
add a comment |
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%2f275425%2fhow-to-rename-currency-name%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
Override currency.phtml file in your theme
app/design/frontend/vendore/theme/Magento_Directory/templates/currency.phtml
Change line number 35
<?= $block->escapeHtml($_code) ?> - <?= $block->escapeHtml($_name) ?>
to
<?= __($block->escapeHtml($_code)) ?> - <?= __($block->escapeHtml($_name)) ?>
Create app/design/frontend/vendore/theme/i18n/en_US.csv file and write below code
"United Arab Emirates Dirham","UAE Dirham"
Change line number 28
<?= $block->escapeHtml($currentCurrencyCode) ?> - <?= @$block->escapeHtml($currencies[$currentCurrencyCode]) ?>
to
<?= __($block->escapeHtml($currentCurrencyCode)) ?> - <?= __(@$block->escapeHtml($currencies[$currentCurrencyCode])) ?>
I hope it's useful for you.
It worked. but only for currency drop down. after select "UAE - Dirham" from dropdown, "AED - United Arab Emirates Dirham" remains on top. how to apply for both places?
– Chathura
May 21 at 10:51
Please check I update the ans.
– Sweety Masmiya
May 21 at 11:14
Yes now it's working. thank you so much :)
– Chathura
May 21 at 11:18
If my ans is useful than please give right. So another person also helpful.
– Sweety Masmiya
May 21 at 11:31
add a comment |
Override currency.phtml file in your theme
app/design/frontend/vendore/theme/Magento_Directory/templates/currency.phtml
Change line number 35
<?= $block->escapeHtml($_code) ?> - <?= $block->escapeHtml($_name) ?>
to
<?= __($block->escapeHtml($_code)) ?> - <?= __($block->escapeHtml($_name)) ?>
Create app/design/frontend/vendore/theme/i18n/en_US.csv file and write below code
"United Arab Emirates Dirham","UAE Dirham"
Change line number 28
<?= $block->escapeHtml($currentCurrencyCode) ?> - <?= @$block->escapeHtml($currencies[$currentCurrencyCode]) ?>
to
<?= __($block->escapeHtml($currentCurrencyCode)) ?> - <?= __(@$block->escapeHtml($currencies[$currentCurrencyCode])) ?>
I hope it's useful for you.
It worked. but only for currency drop down. after select "UAE - Dirham" from dropdown, "AED - United Arab Emirates Dirham" remains on top. how to apply for both places?
– Chathura
May 21 at 10:51
Please check I update the ans.
– Sweety Masmiya
May 21 at 11:14
Yes now it's working. thank you so much :)
– Chathura
May 21 at 11:18
If my ans is useful than please give right. So another person also helpful.
– Sweety Masmiya
May 21 at 11:31
add a comment |
Override currency.phtml file in your theme
app/design/frontend/vendore/theme/Magento_Directory/templates/currency.phtml
Change line number 35
<?= $block->escapeHtml($_code) ?> - <?= $block->escapeHtml($_name) ?>
to
<?= __($block->escapeHtml($_code)) ?> - <?= __($block->escapeHtml($_name)) ?>
Create app/design/frontend/vendore/theme/i18n/en_US.csv file and write below code
"United Arab Emirates Dirham","UAE Dirham"
Change line number 28
<?= $block->escapeHtml($currentCurrencyCode) ?> - <?= @$block->escapeHtml($currencies[$currentCurrencyCode]) ?>
to
<?= __($block->escapeHtml($currentCurrencyCode)) ?> - <?= __(@$block->escapeHtml($currencies[$currentCurrencyCode])) ?>
I hope it's useful for you.
Override currency.phtml file in your theme
app/design/frontend/vendore/theme/Magento_Directory/templates/currency.phtml
Change line number 35
<?= $block->escapeHtml($_code) ?> - <?= $block->escapeHtml($_name) ?>
to
<?= __($block->escapeHtml($_code)) ?> - <?= __($block->escapeHtml($_name)) ?>
Create app/design/frontend/vendore/theme/i18n/en_US.csv file and write below code
"United Arab Emirates Dirham","UAE Dirham"
Change line number 28
<?= $block->escapeHtml($currentCurrencyCode) ?> - <?= @$block->escapeHtml($currencies[$currentCurrencyCode]) ?>
to
<?= __($block->escapeHtml($currentCurrencyCode)) ?> - <?= __(@$block->escapeHtml($currencies[$currentCurrencyCode])) ?>
I hope it's useful for you.
edited May 21 at 11:13
answered May 21 at 10:36
Sweety MasmiyaSweety Masmiya
1708
1708
It worked. but only for currency drop down. after select "UAE - Dirham" from dropdown, "AED - United Arab Emirates Dirham" remains on top. how to apply for both places?
– Chathura
May 21 at 10:51
Please check I update the ans.
– Sweety Masmiya
May 21 at 11:14
Yes now it's working. thank you so much :)
– Chathura
May 21 at 11:18
If my ans is useful than please give right. So another person also helpful.
– Sweety Masmiya
May 21 at 11:31
add a comment |
It worked. but only for currency drop down. after select "UAE - Dirham" from dropdown, "AED - United Arab Emirates Dirham" remains on top. how to apply for both places?
– Chathura
May 21 at 10:51
Please check I update the ans.
– Sweety Masmiya
May 21 at 11:14
Yes now it's working. thank you so much :)
– Chathura
May 21 at 11:18
If my ans is useful than please give right. So another person also helpful.
– Sweety Masmiya
May 21 at 11:31
It worked. but only for currency drop down. after select "UAE - Dirham" from dropdown, "AED - United Arab Emirates Dirham" remains on top. how to apply for both places?
– Chathura
May 21 at 10:51
It worked. but only for currency drop down. after select "UAE - Dirham" from dropdown, "AED - United Arab Emirates Dirham" remains on top. how to apply for both places?
– Chathura
May 21 at 10:51
Please check I update the ans.
– Sweety Masmiya
May 21 at 11:14
Please check I update the ans.
– Sweety Masmiya
May 21 at 11:14
Yes now it's working. thank you so much :)
– Chathura
May 21 at 11:18
Yes now it's working. thank you so much :)
– Chathura
May 21 at 11:18
If my ans is useful than please give right. So another person also helpful.
– Sweety Masmiya
May 21 at 11:31
If my ans is useful than please give right. So another person also helpful.
– Sweety Masmiya
May 21 at 11:31
add a comment |
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%2f275425%2fhow-to-rename-currency-name%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