Magento multi Language storeMulti Site, Multi Domain, Multi LanguageSolving languages (multi)store: what if a...

Can I write a book of my D&D game?

How to remove lines through the legend markers in ListPlot?

Injecting creativity into a cookbook

How can my powered armor quickly replace its ceramic plates?

Why has the mole been redefined for 2019?

Porting Linux to another platform requirements

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

How can I deliver in-universe written lore to players without it being dry exposition?

Blindfold battle as a gladiatorial spectacle - what are the tactics and communication methods?

Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?

Are there any modern advantages of a fire piston?

What is the purpose of easy combat scenarios that don't need resource expenditure?

On a wire designated as '3x14AWG' what does the '3x' part mean?

How to say "Brexit" in Latin?

One Half of Ten; A Riddle

Using only 1s, make 29 with the minimum number of digits

Table formatting top left corner caption

In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?

My cat mixes up the floors in my building. How can I help him?

Can we use the stored gravitational potential energy of a building to produce power?

Incorporating research and background: How much is too much?

Which one of these password policies is more secure?

awk + sum all numbers

What is the wife of a henpecked husband called?



Magento multi Language store


Multi Site, Multi Domain, Multi LanguageSolving languages (multi)store: what if a category/product/page does not exist in the other language?setting language to website in magento 2.0.2Using URL subfolders for multi-language Store Views in Magento 2How did Magento know language was installed?Remove multi-language storeview code from the url - Magento1.9How to set Default LanguageMagento 2: Finding out customer language?How can I add New language in magento 2 admin panel Locale Options?Same content (language) for multiple countries (store views)













0















One client asked to internationalize a magento 2.2.3 store adding other two languages (English and Spanish).
The current website is on production since April with only the default language and store view (Italian).
I'm studying how to internationalize a magento store since it is the first time, but I have some doubts.
I found some articles on the web and it is clear that I need to create the store views, download the language packages and then translate the contents.



https://support.weltpixel.com/hc/en-us/articles/115006305808-How-to-create-a-Multi-Language-Store-in-Magento-Tutorial



https://inchoo.net/magento-2/magento-2-create-multilanguage-store/



https://inchoo.net/magento-2/magento-2-administration/create-multi-language-store-magento-2-part-2/




  1. How to handle the current store view ?

  2. It is necessary to add the it code to the italian view?

  3. If yes, How to handle the old urls (without the store code).










share|improve this question

























  • As far as I understand it will be the same web, but just with more languages, right?

    – Raül
    Aug 20 '18 at 11:29











  • yes, you understood well.

    – baronebirra
    Aug 20 '18 at 11:41


















0















One client asked to internationalize a magento 2.2.3 store adding other two languages (English and Spanish).
The current website is on production since April with only the default language and store view (Italian).
I'm studying how to internationalize a magento store since it is the first time, but I have some doubts.
I found some articles on the web and it is clear that I need to create the store views, download the language packages and then translate the contents.



https://support.weltpixel.com/hc/en-us/articles/115006305808-How-to-create-a-Multi-Language-Store-in-Magento-Tutorial



https://inchoo.net/magento-2/magento-2-create-multilanguage-store/



https://inchoo.net/magento-2/magento-2-administration/create-multi-language-store-magento-2-part-2/




  1. How to handle the current store view ?

  2. It is necessary to add the it code to the italian view?

  3. If yes, How to handle the old urls (without the store code).










share|improve this question

























  • As far as I understand it will be the same web, but just with more languages, right?

    – Raül
    Aug 20 '18 at 11:29











  • yes, you understood well.

    – baronebirra
    Aug 20 '18 at 11:41
















0












0








0








One client asked to internationalize a magento 2.2.3 store adding other two languages (English and Spanish).
The current website is on production since April with only the default language and store view (Italian).
I'm studying how to internationalize a magento store since it is the first time, but I have some doubts.
I found some articles on the web and it is clear that I need to create the store views, download the language packages and then translate the contents.



https://support.weltpixel.com/hc/en-us/articles/115006305808-How-to-create-a-Multi-Language-Store-in-Magento-Tutorial



https://inchoo.net/magento-2/magento-2-create-multilanguage-store/



https://inchoo.net/magento-2/magento-2-administration/create-multi-language-store-magento-2-part-2/




  1. How to handle the current store view ?

  2. It is necessary to add the it code to the italian view?

  3. If yes, How to handle the old urls (without the store code).










share|improve this question
















One client asked to internationalize a magento 2.2.3 store adding other two languages (English and Spanish).
The current website is on production since April with only the default language and store view (Italian).
I'm studying how to internationalize a magento store since it is the first time, but I have some doubts.
I found some articles on the web and it is clear that I need to create the store views, download the language packages and then translate the contents.



https://support.weltpixel.com/hc/en-us/articles/115006305808-How-to-create-a-Multi-Language-Store-in-Magento-Tutorial



https://inchoo.net/magento-2/magento-2-create-multilanguage-store/



https://inchoo.net/magento-2/magento-2-administration/create-multi-language-store-magento-2-part-2/




  1. How to handle the current store view ?

  2. It is necessary to add the it code to the italian view?

  3. If yes, How to handle the old urls (without the store code).







magento2.2 url-rewrite language






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 16 mins ago









Teja Bhagavan Kollepara

2,96341847




2,96341847










asked Aug 20 '18 at 11:02









baronebirrabaronebirra

64




64













  • As far as I understand it will be the same web, but just with more languages, right?

    – Raül
    Aug 20 '18 at 11:29











  • yes, you understood well.

    – baronebirra
    Aug 20 '18 at 11:41





















  • As far as I understand it will be the same web, but just with more languages, right?

    – Raül
    Aug 20 '18 at 11:29











  • yes, you understood well.

    – baronebirra
    Aug 20 '18 at 11:41



















As far as I understand it will be the same web, but just with more languages, right?

– Raül
Aug 20 '18 at 11:29





As far as I understand it will be the same web, but just with more languages, right?

– Raül
Aug 20 '18 at 11:29













yes, you understood well.

– baronebirra
Aug 20 '18 at 11:41







yes, you understood well.

– baronebirra
Aug 20 '18 at 11:41












1 Answer
1






active

oldest

votes


















0














You need to create:



app/i18n/<yourCustomName>/es_ES
app/i18n/<yourCustomName>/en_EN


Once created add a registration.php, language.xml, and a es_ES.csv or en_EN.csv in each folder.



Inside each language.xml:



<?xml version="1.0"?>
<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>es_ES</code>
<vendor><vendor></vendor>
<package>es_es</package>
<sort_order>10</sort_order>
<use vendor="<vendor>" package="es_es" />
</language>


Once you have these done and the .csv have data inside (make sure you try and find them online).



Then you go and create storeviews:



enter image description here



You should have Default WebSite and Default Store and Default StoreView (Or the Italian ones). So when creating 2 new storeviews, they should be childs of the default Store.



Hopefully I will have answered the questions.






share|improve this answer
























  • Ok if i understood well i have to create two language packages or install theme from a vendor (like mageplaza). Then i need to create two store views with the language code. My answer is: i have to create a language code for the urls also for the italian view( the default one): Example: spanish: website.com/es english: website.com/en italian : website.com or website.com/it? If the second case i the right how can i redirect the old to the new one? magento does it or i need to write them in .htacces?

    – baronebirra
    Aug 20 '18 at 13:19













  • Well, the way I explained it so you have the same web, but the user would have at the top left or top right a comboBox where they can choose with which language do they want to see the web. You need to add them to your code, but not to vendor. If you want to create different websites, it's a different story.

    – Raül
    Aug 20 '18 at 14:55











  • Sorry, i explained it in the wrong way. I wanted to say that i would download language packages from mageplaza for the views

    – baronebirra
    Aug 20 '18 at 14:56











  • i think that i do not have enogh point to chat

    – baronebirra
    Aug 20 '18 at 15:07











  • Oke, no problem. It was just so we would't be chatting here.

    – Raül
    Aug 20 '18 at 15:37











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%2f238920%2fmagento-multi-language-store%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









0














You need to create:



app/i18n/<yourCustomName>/es_ES
app/i18n/<yourCustomName>/en_EN


Once created add a registration.php, language.xml, and a es_ES.csv or en_EN.csv in each folder.



Inside each language.xml:



<?xml version="1.0"?>
<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>es_ES</code>
<vendor><vendor></vendor>
<package>es_es</package>
<sort_order>10</sort_order>
<use vendor="<vendor>" package="es_es" />
</language>


Once you have these done and the .csv have data inside (make sure you try and find them online).



Then you go and create storeviews:



enter image description here



You should have Default WebSite and Default Store and Default StoreView (Or the Italian ones). So when creating 2 new storeviews, they should be childs of the default Store.



Hopefully I will have answered the questions.






share|improve this answer
























  • Ok if i understood well i have to create two language packages or install theme from a vendor (like mageplaza). Then i need to create two store views with the language code. My answer is: i have to create a language code for the urls also for the italian view( the default one): Example: spanish: website.com/es english: website.com/en italian : website.com or website.com/it? If the second case i the right how can i redirect the old to the new one? magento does it or i need to write them in .htacces?

    – baronebirra
    Aug 20 '18 at 13:19













  • Well, the way I explained it so you have the same web, but the user would have at the top left or top right a comboBox where they can choose with which language do they want to see the web. You need to add them to your code, but not to vendor. If you want to create different websites, it's a different story.

    – Raül
    Aug 20 '18 at 14:55











  • Sorry, i explained it in the wrong way. I wanted to say that i would download language packages from mageplaza for the views

    – baronebirra
    Aug 20 '18 at 14:56











  • i think that i do not have enogh point to chat

    – baronebirra
    Aug 20 '18 at 15:07











  • Oke, no problem. It was just so we would't be chatting here.

    – Raül
    Aug 20 '18 at 15:37
















0














You need to create:



app/i18n/<yourCustomName>/es_ES
app/i18n/<yourCustomName>/en_EN


Once created add a registration.php, language.xml, and a es_ES.csv or en_EN.csv in each folder.



Inside each language.xml:



<?xml version="1.0"?>
<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>es_ES</code>
<vendor><vendor></vendor>
<package>es_es</package>
<sort_order>10</sort_order>
<use vendor="<vendor>" package="es_es" />
</language>


Once you have these done and the .csv have data inside (make sure you try and find them online).



Then you go and create storeviews:



enter image description here



You should have Default WebSite and Default Store and Default StoreView (Or the Italian ones). So when creating 2 new storeviews, they should be childs of the default Store.



Hopefully I will have answered the questions.






share|improve this answer
























  • Ok if i understood well i have to create two language packages or install theme from a vendor (like mageplaza). Then i need to create two store views with the language code. My answer is: i have to create a language code for the urls also for the italian view( the default one): Example: spanish: website.com/es english: website.com/en italian : website.com or website.com/it? If the second case i the right how can i redirect the old to the new one? magento does it or i need to write them in .htacces?

    – baronebirra
    Aug 20 '18 at 13:19













  • Well, the way I explained it so you have the same web, but the user would have at the top left or top right a comboBox where they can choose with which language do they want to see the web. You need to add them to your code, but not to vendor. If you want to create different websites, it's a different story.

    – Raül
    Aug 20 '18 at 14:55











  • Sorry, i explained it in the wrong way. I wanted to say that i would download language packages from mageplaza for the views

    – baronebirra
    Aug 20 '18 at 14:56











  • i think that i do not have enogh point to chat

    – baronebirra
    Aug 20 '18 at 15:07











  • Oke, no problem. It was just so we would't be chatting here.

    – Raül
    Aug 20 '18 at 15:37














0












0








0







You need to create:



app/i18n/<yourCustomName>/es_ES
app/i18n/<yourCustomName>/en_EN


Once created add a registration.php, language.xml, and a es_ES.csv or en_EN.csv in each folder.



Inside each language.xml:



<?xml version="1.0"?>
<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>es_ES</code>
<vendor><vendor></vendor>
<package>es_es</package>
<sort_order>10</sort_order>
<use vendor="<vendor>" package="es_es" />
</language>


Once you have these done and the .csv have data inside (make sure you try and find them online).



Then you go and create storeviews:



enter image description here



You should have Default WebSite and Default Store and Default StoreView (Or the Italian ones). So when creating 2 new storeviews, they should be childs of the default Store.



Hopefully I will have answered the questions.






share|improve this answer













You need to create:



app/i18n/<yourCustomName>/es_ES
app/i18n/<yourCustomName>/en_EN


Once created add a registration.php, language.xml, and a es_ES.csv or en_EN.csv in each folder.



Inside each language.xml:



<?xml version="1.0"?>
<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>es_ES</code>
<vendor><vendor></vendor>
<package>es_es</package>
<sort_order>10</sort_order>
<use vendor="<vendor>" package="es_es" />
</language>


Once you have these done and the .csv have data inside (make sure you try and find them online).



Then you go and create storeviews:



enter image description here



You should have Default WebSite and Default Store and Default StoreView (Or the Italian ones). So when creating 2 new storeviews, they should be childs of the default Store.



Hopefully I will have answered the questions.







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 20 '18 at 12:03









RaülRaül

536118




536118













  • Ok if i understood well i have to create two language packages or install theme from a vendor (like mageplaza). Then i need to create two store views with the language code. My answer is: i have to create a language code for the urls also for the italian view( the default one): Example: spanish: website.com/es english: website.com/en italian : website.com or website.com/it? If the second case i the right how can i redirect the old to the new one? magento does it or i need to write them in .htacces?

    – baronebirra
    Aug 20 '18 at 13:19













  • Well, the way I explained it so you have the same web, but the user would have at the top left or top right a comboBox where they can choose with which language do they want to see the web. You need to add them to your code, but not to vendor. If you want to create different websites, it's a different story.

    – Raül
    Aug 20 '18 at 14:55











  • Sorry, i explained it in the wrong way. I wanted to say that i would download language packages from mageplaza for the views

    – baronebirra
    Aug 20 '18 at 14:56











  • i think that i do not have enogh point to chat

    – baronebirra
    Aug 20 '18 at 15:07











  • Oke, no problem. It was just so we would't be chatting here.

    – Raül
    Aug 20 '18 at 15:37



















  • Ok if i understood well i have to create two language packages or install theme from a vendor (like mageplaza). Then i need to create two store views with the language code. My answer is: i have to create a language code for the urls also for the italian view( the default one): Example: spanish: website.com/es english: website.com/en italian : website.com or website.com/it? If the second case i the right how can i redirect the old to the new one? magento does it or i need to write them in .htacces?

    – baronebirra
    Aug 20 '18 at 13:19













  • Well, the way I explained it so you have the same web, but the user would have at the top left or top right a comboBox where they can choose with which language do they want to see the web. You need to add them to your code, but not to vendor. If you want to create different websites, it's a different story.

    – Raül
    Aug 20 '18 at 14:55











  • Sorry, i explained it in the wrong way. I wanted to say that i would download language packages from mageplaza for the views

    – baronebirra
    Aug 20 '18 at 14:56











  • i think that i do not have enogh point to chat

    – baronebirra
    Aug 20 '18 at 15:07











  • Oke, no problem. It was just so we would't be chatting here.

    – Raül
    Aug 20 '18 at 15:37

















Ok if i understood well i have to create two language packages or install theme from a vendor (like mageplaza). Then i need to create two store views with the language code. My answer is: i have to create a language code for the urls also for the italian view( the default one): Example: spanish: website.com/es english: website.com/en italian : website.com or website.com/it? If the second case i the right how can i redirect the old to the new one? magento does it or i need to write them in .htacces?

– baronebirra
Aug 20 '18 at 13:19







Ok if i understood well i have to create two language packages or install theme from a vendor (like mageplaza). Then i need to create two store views with the language code. My answer is: i have to create a language code for the urls also for the italian view( the default one): Example: spanish: website.com/es english: website.com/en italian : website.com or website.com/it? If the second case i the right how can i redirect the old to the new one? magento does it or i need to write them in .htacces?

– baronebirra
Aug 20 '18 at 13:19















Well, the way I explained it so you have the same web, but the user would have at the top left or top right a comboBox where they can choose with which language do they want to see the web. You need to add them to your code, but not to vendor. If you want to create different websites, it's a different story.

– Raül
Aug 20 '18 at 14:55





Well, the way I explained it so you have the same web, but the user would have at the top left or top right a comboBox where they can choose with which language do they want to see the web. You need to add them to your code, but not to vendor. If you want to create different websites, it's a different story.

– Raül
Aug 20 '18 at 14:55













Sorry, i explained it in the wrong way. I wanted to say that i would download language packages from mageplaza for the views

– baronebirra
Aug 20 '18 at 14:56





Sorry, i explained it in the wrong way. I wanted to say that i would download language packages from mageplaza for the views

– baronebirra
Aug 20 '18 at 14:56













i think that i do not have enogh point to chat

– baronebirra
Aug 20 '18 at 15:07





i think that i do not have enogh point to chat

– baronebirra
Aug 20 '18 at 15:07













Oke, no problem. It was just so we would't be chatting here.

– Raül
Aug 20 '18 at 15:37





Oke, no problem. It was just so we would't be chatting here.

– Raül
Aug 20 '18 at 15:37


















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%2f238920%2fmagento-multi-language-store%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

“%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

夢乃愛華...