I'm using I18n-js gem for localiztion of js files. I've installed it with help of gem Readme and it worked for the first time.
The problem is when I add new translations to my translations.js file with rake task rake i18n:js:export translations not showing in my templates - only missing translation (development and production has same situation), although translations.js contents all the new translations.
application.js
//= require i18n
//= require i18n/translations
What did I miss? If you need more information please comment about it. Thanks
Run rake tmp:clear
I faced the same issue and this command solved it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With