Hi, I’m going crazy trying to understand how change the language of this button. “This post is for subscribes only” and all the rest of the text. I woudl translate in Italian. Tell me that this is possible :)
Hey @Germano_Milite - that’s the CTA (call to action) text.
I’m assuming you’ve already set your site to italian (it), in /ghost > settings (the gear icon). If not, please do that and see if it resolves the problem!
If that doesn’t fix it, it may not be translated in the theme you’re using, but if you can edit the theme, you can fix it. Can you tell me what theme you’re using? That’ll help me help you fix it.
Warmly,
Cathy (some of my writing on i18n)
Resources:
First of all, thank you very much for your quick answer!
- Yes, language setted to Italian
- I’m using source (v1.4.1)
COnsider that i cannot use the code
How are you hosted? It’s a small change (no real coding, just moving some files around and zipping/unzipping) to make, but it won’t be possible on Ghost Pro’s starter plan. (Works fine in Ghost Pro Creator or higher, self hosting, Magic Pages (not starter), etc…)
I’ve the creator plan
That’s portal. It should be showing up in your language, IF your language has been translated.
Are you on the latest version of Ghost?
Ok, as i imagine but…how can i check the ghost version? I guess is the last available.
And, about the first issue of the red banner for the subscribers only content? I’ve the same problem with the tier reserved content
Where are you hosted?
The portal translations for Italian should definitely be present. Here’s what’s available:
If you aren’t seeing it, you’re perhaps using an older version of Ghost (even a few months old would be enough), or have not correctly set your locale. If you go to your homepage and press ctrl-U, you’ll get the source of the page, and can look for the word “generator”, which will show the Ghost version.
Thanks, really but…this button is linked directly to the theme!
Not on Ghost.io (i solved the pop up issue). I don’t know how change this text in particular
Glad you resolved the portal problem. I hope you’ll share the solution as a resource for future users!
The red box is the content-cta, which you can find in the partials folder of your theme. If you don’t find it there, you can download a copy from github (in the tryghost/ghost repo) and put it there, making any edits wanted.
Sure, I’ll explain with bullet points:
- First issue: the sign-up popup
I simply changed the default language by writing only “IT” instead of “ITA” as I did the first time. I tested it, and… it works! - Second issue: translation of the subscribe-only banner
In the theme’s “source” zip file, there wasn’t a document namedcontent-cta.hbs
. So, I created one from scratch using the code here.I just copied and pasted the code, translated the needed part of the text and saved the new document ascontent-cta.hbs
. Then, I placed the file in the “partials” directory of the theme zip file and uploaded it to Ghost.
I hope this will be helpful for anyone facing the same problem.