Plugin translations

(Kgish) #1

I’ve been able to add a new menu item to the admin dashboard, but for some reason it’s not catching my translation.

Instead of the menu item with the right text, I see:


My translation file plugins/myplugin/config/locales/ looks like this:

      dummy: "Hey dummy!"
        menu_title: "Menu title"
        page_title: "Page title"

Anything I’m doing wrong?

(James Kiesel) #2

I usually have to clear out the tmp folder in my discourse project folder in order for it to catch my translations.

(Kgish) #3

Wow, that did the trick, thanks for saving my life!