Magento 2 Remove language switcherMagento 2 - Remove Currency SwitcherHow do I replace the standard language...
Does splitting a potentially monolithic application into several smaller ones help prevent bugs?
Making a sword in the stone, in a medieval world without magic
How much attack damage does the AC boost from a shield prevent on average?
Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?
BitNot does not flip bits in the way I expected
Should I tell my boss the work he did was worthless
How strictly should I take "Candidates must be local"?
Examples of a statistic that is not independent of sample's distribution?
Why does Captain Marvel assume the planet where she lands would recognize her credentials?
What are the best books to study Neural Networks from a purely mathematical perspective?
Do f-stop and exposure time perfectly cancel?
Best approach to update all entries in a list that is paginated?
MTG: Can I kill an opponent in response to lethal activated abilities, and not take the damage?
Who deserves to be first and second author? PhD student who collected data, research associate who wrote the paper or supervisor?
Is "history" a male-biased word ("his+story")?
Am I not good enough for you?
Finding algorithms of QGIS commands?
Do items de-spawn in Diablo?
Built-In Shelves/Bookcases - IKEA vs Built
Unreachable code, but reachable with exception
Does a Catoblepas statblock appear in an official D&D 5e product?
Aliens englobed the Solar System: will we notice?
Are babies of evil humanoid species inherently evil?
Peter's Strange Word
Magento 2 Remove language switcher
Magento 2 - Remove Currency SwitcherHow do I replace the standard language switcher with flags? Magento 2.1.0Magento 2.1.3 Module layout not being calledRemove Language Block from Default.xmlHow to add flags to language switcherHow to add language switcher in custom EAV admin grid?Language Switcher is not working on Magento 2.2.3Language and Currency Switcher are not working on Magento 2.2.2 in Mac safari and Chrome ExplorerIs it possible to have a different url for a different languageMagento2: How to add language switcher
I am trying to remove language switcher and to do this I have added a line in:
app/design/frontend/MyPackage/MyTheme/Magento_Theme/layout/default.xml
I just add a line in <body>
<referenceBlock name="store_language" remove="true"/>
Executed deployment script, but I am still seeing Magento_Store/templates/switch/languages.phtml
in profiler files list
Any idea what should do to resolve it?
magento2 language-switcher remove-block
add a comment |
I am trying to remove language switcher and to do this I have added a line in:
app/design/frontend/MyPackage/MyTheme/Magento_Theme/layout/default.xml
I just add a line in <body>
<referenceBlock name="store_language" remove="true"/>
Executed deployment script, but I am still seeing Magento_Store/templates/switch/languages.phtml
in profiler files list
Any idea what should do to resolve it?
magento2 language-switcher remove-block
Is this now display in header or not?you are doing correct way please clear all cache manually and again try.
– akgola
6 mins ago
Actually I havn't called it in header, but file is appearing in profiler. Yes I did clear cache manually
– Shoaib Munir
1 min ago
add a comment |
I am trying to remove language switcher and to do this I have added a line in:
app/design/frontend/MyPackage/MyTheme/Magento_Theme/layout/default.xml
I just add a line in <body>
<referenceBlock name="store_language" remove="true"/>
Executed deployment script, but I am still seeing Magento_Store/templates/switch/languages.phtml
in profiler files list
Any idea what should do to resolve it?
magento2 language-switcher remove-block
I am trying to remove language switcher and to do this I have added a line in:
app/design/frontend/MyPackage/MyTheme/Magento_Theme/layout/default.xml
I just add a line in <body>
<referenceBlock name="store_language" remove="true"/>
Executed deployment script, but I am still seeing Magento_Store/templates/switch/languages.phtml
in profiler files list
Any idea what should do to resolve it?
magento2 language-switcher remove-block
magento2 language-switcher remove-block
asked 14 mins ago
Shoaib MunirShoaib Munir
1,9431627
1,9431627
Is this now display in header or not?you are doing correct way please clear all cache manually and again try.
– akgola
6 mins ago
Actually I havn't called it in header, but file is appearing in profiler. Yes I did clear cache manually
– Shoaib Munir
1 min ago
add a comment |
Is this now display in header or not?you are doing correct way please clear all cache manually and again try.
– akgola
6 mins ago
Actually I havn't called it in header, but file is appearing in profiler. Yes I did clear cache manually
– Shoaib Munir
1 min ago
Is this now display in header or not?you are doing correct way please clear all cache manually and again try.
– akgola
6 mins ago
Is this now display in header or not?you are doing correct way please clear all cache manually and again try.
– akgola
6 mins ago
Actually I havn't called it in header, but file is appearing in profiler. Yes I did clear cache manually
– Shoaib Munir
1 min ago
Actually I havn't called it in header, but file is appearing in profiler. Yes I did clear cache manually
– Shoaib Munir
1 min ago
add a comment |
0
active
oldest
votes
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%2f265607%2fmagento-2-remove-language-switcher%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f265607%2fmagento-2-remove-language-switcher%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
Is this now display in header or not?you are doing correct way please clear all cache manually and again try.
– akgola
6 mins ago
Actually I havn't called it in header, but file is appearing in profiler. Yes I did clear cache manually
– Shoaib Munir
1 min ago