How to add translation in handlebars


(SMHassanAlavi) #1

How can I add a label in my handlebars in connector with multiple language.
I have : {{i18n 'score.lable'}} in my handlebar and I have in myplugin/config/locales/client.en.yml this code:

  score:
    lable: "Your reputation:"```
but the result is :
[en.score.lable]

(Vinoth Kannan) #2

Try by removing the cache from /tmp folder and restart.


(SMHassanAlavi) #3

how canI do it? is removing /tmp folder enough?


(Vinoth Kannan) #4

Not /tmp folder. But you can remove everything inside /tmp