Closed enrique-ramirez closed 9 years ago
Default pattern is /\{{2}([\w\.\s\"\']+\s?\|\s?translate[\w\s\|]*)\}{2}/g
.
I tested it few minutes ago. It forks with '_'
. Your fail is in no '|translate'
after pattern.
p.s. issue is 1 year old. may be somebody need to close it =).
With this configuration:
en.yml
template.html
gulpfile.js
gulp-translator
outputs{{page.section.main_title}}
. However, if I change this to camelCase it works fine. Is there a way I can get underscores to work on locales' keys?