Is it possible to change the language in the Edition Theme? I have tried this approach Ghost Handlebars Theme Helpers: translate without any success on the Edition Theme.
That tutorial is applicable to the Edition theme. If you did all the steps, the theme should be translatable. You also need to change the language on your Ghost site to reflect the new language. This setting is accessible under Settings > General.
Let me know how it goes. If it still doesnât work, can you share your JSON language file and a page from your theme, so we can take a look?
Thank you very much for the answer, but unfortunately, it still doesnât work. You can see a page from my theme here: MĂŠrsk med utidig slĂžseri | Decisions.dk
You can see the English language at the bottom of the page.
And my JSON language file is here:
{
âBackâ: âTilbageâ,
âNewer Postsâ: âNyere artikelâ,
âOlder Postsâ: âĂldre artikelâ,
âSide {page} af {pages}â: âSide {page} af {pages}â,
âSubscribeâ: âAbonnĂ©râ,
âSubscribe to {blogtitle}â: âAbonnĂ©r pĂ„ {blogtitle}â,
âSubscribed!â: âAbonnement udfĂžrt!â,
âwith the email addressâ: âmed email-addressenâ,
âYour email addressâ: âDin email-addresseâ,
âYouâve successfully subscribed toâ: âDu er nu abonnent pĂ„â,
âA collection of postsâ: âEn samling af artiklerâ,
âA collection of 1 postâ: âEn samling af 1 artikelâ,
âA collection of % postsâ: âEn samling af % artiklerâ,
âGet the latest posts delivered right to your inboxâ: âFĂ„ nye artikler leveret direkte i din inboxâ,
âLatest Postsâ: âSeneste artiklerâ,
âMore posts by {name}â: âFlere artikler af {name}â,
âNo postsâ: âIngen artiklerâ,
" (Page %)â: " (Side %)â,
âRead Moreâ: âLĂŠs mereâ,
âRead more posts by this authorâ: âLĂŠs flere artikler af denne skribentâ,
âSee all % postsâ: âSe alle % artiklerâ,
âShare thisâ: âDel detteâ,
âStay up to date! Get all the latest & greatest posts delivered straight to your inboxâ: âHold dig opdateret. FĂ„ alle de nyeste og bedste artikler leveret direkte i din inboxâ,
âThis post was a collaboration betweenâ: âDenne artikel er et samarbejde mellemâ,
âyouremail@example.comâ: âmartin@decisions.dkâ,
â1 postâ: â1 artikelâ,
â% postsâ: â% artiklerâ,
â1 min readâ: â1 min lĂŠsningâ,
â% min readâ: â% min lĂŠsningâ
}
And I did change the language settings to âdaâ. Hope there are solutions?
This all looks good! What are you trying to do? I think there may be some confusion about what the translate helper doesâŠ
The translate helper is intended to allow a theme to be translated but use one language at a time. You can use English or you can use Danish, but you canât use both.
If you are looking to set up a multi-language site, then thereâs a different process thatâs explained in this tutorial.
Let me know!
Thank you for helping out. My wish is to have a website in Danish only. At this stage, I am not interested in a multi-language site. So it should be simpleâŠ
If itâs only in Danish, can you just skip the translate helper altogether and directly translate the template to Danish? That seems like the simplest solution here.
Otherwise, youâd need to share your theme repo if possible to help troubleshoot.
Hi there, I am trying to do the same thing.
I just would like to have my ghost site ( I have ghost pro , no servers etc. ) in italian,
that is to change all the text appearing in english ( like âsubscribeâ ) to italian.
But I donât find a clear explanation about this.
I tried to change the language in âsettings/general/publication Languageâ to âitâ but nothing changedâŠ
Are you able to help me?
thanks
Francesco