Translation in V6 is not working?
I follow this guide : translate - Ghost Developer Docs
But when I configure it in default.hbs: {{t Subscribe to}}
The word Subscribe simply disappears only have the envelop sign
I’m using Journal theme.
Translation in V6 is not working?
I follow this guide : translate - Ghost Developer Docs
But when I configure it in default.hbs: {{t Subscribe to}}
The word Subscribe simply disappears only have the envelop sign
I’m using Journal theme.
Let’s see - you’re missing the quotes around the string - so it should be {{t 'Subscribe to'}}
You need to restart Ghost whenever you add new translations, so that might be your problem.
Ghost will be looking for a string matching ‘Subscribe to’ in your theme’s /locales/ directory, named langcode.json, where langcode.json needs to exactly match the locale you set in /ghost > settings .
It’s probably one of those!
Sorry. You are right. I forgot {{t ‘Subscribe to’}}
I’m getting old
Thanks