cancel
Showing results for 
Search instead for 
Did you mean: 

translation theme not visible

SOLVED

translation theme not visible

I made a CSV. Name: 'nl_NL.csv'

Content: "You added %1 to your shopping cart.,U heeft %1 aan uw winkelwagen toegevoegd."

That as what I want to Translate in Dutch as it is not in the standard language package.

I have put this 'nl_NL.csv' in /public_html/app/design/frontend/developer/mytheme/i18n/nl_NL.csv'

I ran
- php bin/magento setup:static-content:deploy nl_NL -f
- php bin/magento cache:clean
- php bin/magento cache:flush

Still in English.... Rest of the site is Dutch, that is also the setting in backend.

Please advise if you know what I'm doing wrong.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: translation theme not visible

So solution was caching issue.

Our hoster implemented Varnish caching. Apparantly not set up fully correct.
Flushing Magento cache did not flush Varnish .

After we noted Varnish not working correctly they made changes and restarted Varnish -> translations visible.


In short. Always test if Varnish setup is working properly when you encounter problems like this.

View solution in original post

3 REPLIES 3

Re: translation theme not visible

In wrong topic by accident. Not sure how to move or remove

Re: translation theme not visible

Hello @emile_rdam

 

Add the content as given below in your csv file.

 

"You added %1 to your shopping cart.","U heeft %1 aan uw winkelwagen toegevoegd.",theme,frontend/developer/mytheme
If you find my answer useful, Please click Kudos & Accept as Solution.

Re: translation theme not visible

So solution was caching issue.

Our hoster implemented Varnish caching. Apparantly not set up fully correct.
Flushing Magento cache did not flush Varnish .

After we noted Varnish not working correctly they made changes and restarted Varnish -> translations visible.


In short. Always test if Varnish setup is working properly when you encounter problems like this.