using 2.2.2. I installed italian language pack and configured store views, all the standard magento string are correctly showing in italian. Then I have some custom string, this is what I did:
- ran command
php bin/magento i18n:collect-phrases app/design/frontend/Smartwave/porto_child/
which gave me the output:
"You could be also interested in","You could be also interested in" Dictionary successfully processed.
then I created app/design/frontend/Smartwave/porto_child/i18n/it_IT.csv:
"You could be also interested in","Potrebbe interessarti anche"
and obviusly in phtml:
<h2><?php echo __('You could be also interested in'); ?></h2>
which doesn't get translated. What am I doing wrong?
Solved! Go to Solution.
thanks for your answer. I'm in developer mode, so why force the deploy?
Thanks a lot