I installed a template and put all the necessary translations in the i18n file but still can't see the translation. My question is: Do I have to create 3 home pages and then choose the store-view for each page or it is a problem in my translation?

enter image description here

  • It probably is a problem on your theme, magento only translates the strings wrapped by a function like this: <?= __("String to translate")?>.
    – lpFranz
    Sep 27, 2018 at 11:29

2 Answers 2


For the translate it is not completed once you add translate text in i18 CSV file. because i18 CSV just give the translate value of original words.

Please check below step to keep in mind while translate.

  1. Add translation text to i18 CSV file (It is translate original word to translate word )
  2. Make sure In phtml file you need to display words like <?php echo __("Hello world"); ?>
  3. All the content are not comming from phtml some of the content are coming from admin CMS Page. so you need to add translated text to there after select store from store > config.

For exmple in your case Featured product title is not translated. so for that you need to first check from wher it is comming form admin or phtml? if it comes from phtml then add words to like this <?php echo __("Hello world"); ?> and if comes from admin CMS then you need to add translated text to there after change store.

  • Ok nop, if you have any concern let me know. if you get solution then +1 :) Sep 27, 2018 at 13:10
  • can i please ask you some question Sep 27, 2018 at 13:12
  • Sure. why not go ahed. Sep 27, 2018 at 13:12
  • ok thanks i have installed a template and now facing problem with base fonctionnalité like filtring with categ and price not working Sep 27, 2018 at 13:13
  • And when i change the store view the look of page category change :'( Sep 27, 2018 at 13:14

inside i18n folder you put translations for static string (from code)

for example for strings like:

<?= __("Hello world"); ?>

Home page is most probably CMS Page and it can be translated in admin panel, like you wrote, by creating them per store view.

Which kind of content is not translated?

  • <?= __("Hello world"); ?> how to put this in i18n exactly ??? Sep 27, 2018 at 12:37
  • This was just an example how strings looks in the code. You can generate translation file for strings from themes and modules. To translate them you can use dictionaries. There is a command to generate file for translation: magento2/bin/magento i18n:collect-phrases You can read about it here: devdocs.magento.com/guides/v2.0/frontend-dev-guide/translations/…
    – Jan Żaba
    Oct 1, 2018 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.