fueko home fueko home

Theme translation

Use the Daigo Ghost theme translation files to change default interface text or add another language for labels, buttons, messages, and other translatable phrases.

Editing existing theme phrases (Requires theme editing)
  1. Open the theme in Ghost’s code editor.
  2. In the file tree, open locales/en.json.
  3. Change the values on the right side of each translation pair. Keep the original phrase on the left unchanged:
{
    "Old translate": "New translate",
    ...
}
  1. Click 'Save' to activate.
Translating the theme into another language (Requires theme editing)
  1. Open the theme in Ghost’s code editor.
  2. Open locales/en.json, select all of its content, and copy it.
  3. Click the + button in the file tree to create a new editable file.
  4. In the 'File path' field, enter the full path for the target language file, for example locales/es.json for Spanish or locales/pl.json for Polish. Use a valid language code ↗.
  5. Click 'Create file', then paste the content copied from locales/en.json into the new file.
  6. Translate the values on the right side of each translation pair. Keep the original English phrases on the left unchanged. For example, in locales/es.json:
{
    "Back": "Volver",
    "Newer Posts": "Artículos Siguientes",
    "Older Posts": "Artículos Anteriores",
    ...
}
  1. Click 'Save' to activate the theme file changes.
  2. Go to the 'Publication language' settings in the Ghost Admin.
  3. Enter the same language code into the 'Site language' field, for example es.
  4. Click 'Save' to activate.