Showing results for 
Search instead for 
Did you mean: 

Translating theme = Missing phrase

Translating theme = Missing phrase


I want to translate Magento and my theme.

So I added in my theme an i18n folder and then tried to use this command


public_html$ php -f bin/magento i18n:collect-phrases -o “app/design/frontend/Mgs/molla/i18n/de_DE.csv” app/design/frontend/Mgs/molla                                                                                                 
In Parser.php line 47:
  Missed phrase in app/design/frontend/Mgs/molla/Magento_Catalog/templates/product/list/items.phtml:189  
In Phrase.php line 90:
  Missed phrase 

Or I get the error: cannot open file for write dictionary


Does anybody have a quick fix?




Re: Translating theme = Missing phrase

Hello @MadisonCooper 


You can try below shared article or run this command to get if there any error in magento root:


grep -rnw . -e "__('')" -e '__("")'

Manish Mittal