cancel
Showing results for 
Search instead for 
Did you mean: 

CSV translation

CSV translation

Hello everyone,

 

I am trying to translate a core string by changing the value in a CSV file. I know it's not best practice but this is for testing purposes.

 

1- I update the string in the CSV file and flush cache => no change on the frontend UI

2- I update the string in the CSV file and recompile/static content deply => no change on the frontend UI

 

Any idea of what could be going on here?

Thanks a lot for your answers.

 

1 REPLY 1

Re: CSV translation

Hello @david_fiaty ,

May be your sting is coming from a js file so for translating the js file you need to remove the static content from pub/static folder and var/view_preprocessed folder as the js translation is saved in js-translation.json file. Please follow below steps:

 rm -rf var/view_preprocessed pub/static/frontend/*

Then deploy the static content for that language and flush the cache.

Please also check the changes in private window.

 

If this helps you, please accept it as solution and give kudos.

Regards.