How to use the theme in another language?
Ghost docs say that there should be translation support with themes, but i set the locale to 'de' and texts are still all in english?
https://docs.ghost.org/faq/translation
I also could not find any file containing translation keys for manual translation.
How can this theme be used in other languages?
Ghost docs say that there should be translation support with themes, but i set the locale to 'de' and texts are still all in english?
https://docs.ghost.org/faq/translation
I also could not find any file containing translation keys for manual translation.
How can this theme be used in other languages?
There is no translation setup for this theme by default, but you can easily add one.
- add the folder
localesand in it the filede.json. - replace the hard-coded text with the translate helper tag.
e.g. in partials/components/navigation.hbs
- <a href="#/portal/signin" data-portal="signin">Sign in</a>
+ <a href="#/portal/signin" data-portal="signin">{{t "Sign in"}}</a>
- add the matching locale entry
{
"Sign in": "Anmelden"
}
I added a German translation for my own site, feel free to use it. https://github.com/cprass/source-german/tree/translate