Docs
Thesis
Theme Translation

Theme Translation

Translations are used both when you want to add a new language and when you want to edit strings used in the theme.

Edit theme strings

Editing Theme Code is required to add these changes.

To change theme strings, edit values in the ./locales/en.json file:

{
    "Old string": "New string",
    ...
}

Translate to another language

Editing Theme Code is required to add these changes.

If you want to add translation to your language, follow these steps:

  1. For example, if you want to create a German translation, create a new file ./locales/de.json

  2. Insert the content of the ./locales/en.json file and translate it:

    {
        "Old string": "German translation",
        ...
    }
  3. Apply a translation in Settings → General → Publication language