cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying new translation for a theme

SOLVED

Deploying new translation for a theme

Hi, as the title says i'm having issues with deploying my translation file on a theme.

We bought  a theme and some strings are not translated so i ran 

bin/magento i18n:collect-phrases --output="app/design/frontend/TemplateMonster/theme068/i18n/it_IT.csv" app/design/frontend/TemplateMonster/theme068

and got my it_IT.csv file with all my strings to translate, the problem is that after translating i can't understand what i need to do to have them deployed on the website.

Thank you for you help,

Daniel

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Deploying new translation for a theme

Hello @daniel_bertagnolli,

 

Remove everything under pub/static, var/cache/* var/generation/* var/view_preprocessed/* 

Flush cache and issue command

$ php bin/magento setup:static-content:deploy
$ php bin/magento setup:static-content:deploy it_IT

 

--
If my answer is useful, please Accept as Solution & give Kudos

View solution in original post

2 REPLIES 2

Re: Deploying new translation for a theme

Hello @daniel_bertagnolli,

 

Remove everything under pub/static, var/cache/* var/generation/* var/view_preprocessed/* 

Flush cache and issue command

$ php bin/magento setup:static-content:deploy
$ php bin/magento setup:static-content:deploy it_IT

 

--
If my answer is useful, please Accept as Solution & give Kudos

Re: Deploying new translation for a theme

I found out an hour after posting this, just clearing and flushing the cache worked, didn't need to deploy since we are still in developer mode. 

Still adding you as a solution because it's actually what it needs to be done