I have a coffeescript file for one of my resources. It seems like internalization doesn't work properly in my coffescript file. I want I18 gem to transform 'select' script, but it doesn't work.
coffeescript:
console.log('employee loaded -> '+"<%= I18n.t 'select' %>")
When I open the browser console I end up with this text:
employee loaded -> <%= I18n.t 'select' %>
en.yml
en:
select: 'Select...'
tr.yml
tr:
select: 'Seçiniz...'
Any suggestions,
Thanks.