Translate

Translations use Ghost’s {{t}} helper and JSON files in the locales/ folder. The available languages are:

  • English (en)
  • Spanish (es)
  • French (fr)
  • Portuguese (pt-BR)
  • German (de)
  • Dutch (nl)
  • Italian (it)
  • Turkish (tr)
  • Arabic (ar), including right-to-left layout

Edit in Ghost

  1. Go to Settings → Site → Theme.

  2. Open the (⋯) menu next to the active theme and select Edit Code.

  3. Open the matching file, such as locales/pt-BR.json.

  4. Change only the value on the right side of each pair:

    {
      "Subscribe": "Inscreva-se"
    }
  5. Keep the English key on the left unchanged.

  6. Click Save, then Replace theme.

Edit locally

  1. Unzip the theme and open the matching file in the locales/ folder.
  2. Change only the translated values and keep the English keys unchanged.
  3. Save the file, zip the theme, and upload it again.

Add a language

Copy locales/en.json, rename it with a valid language code such as pl.json, and translate its values. Then set the same code under Settings → General → Publication language.

Translation edits do not require a theme build. See the Ghost translation documentation for locale rules.

Craft
New from Ekto Craft

Our latest take on publishing with Ghost.

Explore theme