fueko home fueko home

Theme translation

Use translation files to add a new language or change the default text shown by the theme.

Editing existing theme phrases (Requires theme editing)
  1. Open ../locales/en.json in your code editor.
  2. Change theme phrases using this pattern:
{
    "Old translate": "New translate",
    ...
}
  1. After making your changes, save the file, compress the theme as a ZIP archive, and upload it to Ghost.
Translating the theme into another language (Requires theme editing)
  1. Inside ../locales/, add a file for the target language, for example es.json for Spanish or pl.json for Polish. Use a valid language code.
  2. Use en.json as the source and add translations for your language. For example, in es.json:
{
    "Back": "Volver",
    "Newer Posts": "Artículos Siguientes",
    "Older Posts": "Artículos Anteriores",
    ...
}
  1. After making your changes, save the file, compress the theme as a ZIP archive, and upload it to Ghost.
  2. Go to the 'Publication language' settings in the Ghost Admin.
  3. Enter the correct language code into the 'Site language' field.
  4. Click 'Save' to activate.