# Theme Translation
# Change Language
Weiss Pro is fully translatable and it comes with the following translations out of the box:
- πͺπΈ Spanish
- πΊπΈ English
To change the language of your website just open the Ghost Admin, head to General and expand the Publication language section, now simply enter the language locale (opens new window) 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 (opens new window), 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 (opens new window).
# 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:
- Unzip the theme folder (
weiss-pro.zip
). - Open the file
/locales/en.json
(for Egnlish) 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 now and have access to all our stories, help us stay independent and enjoy exclusive content, with constant updates.
you can search for it within the file and replace it on the right side, then it should look like this:
"Subscribe now and have access to all our stories, help us stay independent and enjoy exclusive content, with constant updates.": "Your own text goes here."
- 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.
β Enable Members Custom Fonts β