Appearance
Theme Translation
Glow is fully translatable and it comes with the following translations out of the box:
- 🇺🇸 English
- 🇪🇸 Spanish
Change Language
To change the language of your publication just head the Ghost Admin, head to General and expand the Publication language section, now simply enter the language locale that you prefer, for example en
for English or es
for Spanish.
If you want to use a different language you have to make a copy of locales/en.json
and rename it to [language_code].json
. The [language_code]
part needs to be replaced with a valid ISO Language Code, for example de.json
for German.
Then you have to edit that file with a text editor and replace all the translations with yours.
TIP
To find more info about theme translation please head over the Ghost documentation.
Replace Translations With Your Own Text
If you want to replace any of the texts that come with the theme you can do the following:
- Create a backup of the theme file (
glow.zip
) - Unzip the theme file
- Open the file
/locales/en.json
(for English) with some text/code editor - Search for the text you want to change and replace the text on the right side with your own text
For example, if you want to replace the text Subscribe to the newsletter for the latest news and updates straight to your inbox.
with a different text like Sign up for the newsletter to receive the most recent news and updates directly in your email.
you can search for it within the file and replace it on the right side, then it should look like this:
json
"Subscribe to the newsletter for the latest news and updates straight to your inbox.": "Sign up for the newsletter to receive the most recent news and updates directly in your email."
- Save your changes, zip the theme folder and upload it again.
WARNING
Please note that you must leave the text on the left side as it is because that part works like a key, you only need to modify the text on the right side.