Translation
Fully supports the ability to translate your site into different languages.
To translate your site to a different language:
Log into your Ghost Admin Dashboard.
Once logged in, go to Settings > Publication Language tab.
Go to Settings > Publication Language.
Under Site language field, replace en with ar, es or fr. (to add a new language, follow the steps below)
Click Save after making changes.

Add languages
To add a new language:
Navigate to ghost_installation/content/themes/relma/locales where ghost_installation is the directory where ghost is installed.
Open
en.json
with notepad or any editor and copy all its contents.Create a new .json file in the same locales folder and name it based on your desired language code (e.g. pt.json for Portuguese).
Paste the copied content into your new file.
Translate the strings in the new file as needed.
Save the file and restart Ghost to apply the changes.

Edit languages
To modify an existing language:
Navigate to ghost_installation/content/themes/relma/locales where ghost_installation is the directory where ghost is installed.
Open the language file you want to edit (e.g. fr.json) with notepad or any editor.
Translate the strings in the file as needed.
Save the file and restart Ghost to apply the changes.

Last updated