---
url: https://docs.artemsemkin.com/velum/wp/basics/translating-the-theme.md
description: >-
  Translate the theme's own texts and its plugins into your language with Loco
  Translate, see the text domain of each part, and keep translations that went
  back to English after an update by saving them in the Custom location.
---

# Translating the theme

The theme and its plugins are translation-ready. The free [Loco Translate](https://wordpress.org/plugins/loco-translate/) plugin edits translations from the WordPress admin.

Each piece has its own text domain, so each is translated separately:

| Piece | Text domain |
|---|---|
| Theme | `velum` |
| Child theme | `velum-child` |
| Velum Core | `velum-core` |
| Velum Elementor | `velum-elementor` |
| Velum AJAX Transitions | `velum-ajax-transitions` |

The other companion plugins ship their own translation files and are translated the same way, under **Loco Translate → Plugins**.

::: info Need a site with a language switcher?
Loco Translate changes the language of the site. A switcher for visitors needs a multilingual plugin: see [Making the site multilingual](../integrations/multilingual).
:::

## Installing Loco Translate

**Plugins → Add Plugin**

#### ▶️ Step 1.

Go to **Plugins → Add Plugin**, search for **Loco Translate** and click **Install Now**.

![Install Now sits under the Loco Translate name](https://docs.artemsemkin.com/velum/wp/images/basics/translating-the-theme-1.png)

#### ▶️ Step 2.

When the button changes, click **Activate**.

## Creating a translation

**Loco Translate → Themes**

#### ▶️ Step 1.

Go to **Loco Translate → Themes** and click **Velum**.

![The list shows one entry for each installed theme](https://docs.artemsemkin.com/velum/wp/images/basics/translating-the-theme-2.png)

#### ▶️ Step 2.

Click **New language**.

![New language sits above the list of existing translations](https://docs.artemsemkin.com/velum/wp/images/basics/translating-the-theme-3.png)

#### ▶️ Step 3.

Under **Choose a language**, pick your language from the list.

![The language list shows the WordPress languages](https://docs.artemsemkin.com/velum/wp/images/basics/translating-the-theme-4.png)

#### ▶️ Step 4.

Under **Choose a location**, select **Custom**, then click **Start translating**. The file then sits in `wp-content/languages/loco/themes/`, a folder that neither a theme update nor a WordPress update touches. Keep Loco Translate active afterwards: it is the plugin that loads the files of this folder.

![Custom keeps the translation in a folder that updates do not touch](https://docs.artemsemkin.com/velum/wp/images/basics/translating-the-theme-5.png)

#### ▶️ Step 5.

Type your translation for each string in the editor and click **Save**. Untranslated strings appear in bold.

![Pick a string in the list, translate it in the box below, then click Save](https://docs.artemsemkin.com/velum/wp/images/basics/translating-the-theme-6.png)

## My translations went back to English after an update

**Loco Translate → Themes → Velum**

![Custom is the location that no update touches](https://docs.artemsemkin.com/velum/wp/images/basics/translating-the-theme-5.png)

The place you chose under **Choose a location** decides whether a translation survives an update:

* **Author** saves the file inside the theme's own folder. A theme update replaces that folder with the new version, and the translation goes with it.
* **System** saves it where WordPress keeps the translations it downloads itself. Loco Translate warns that such a file may be overwritten or deleted when WordPress updates.
* **Custom** saves it in a folder of its own that no update touches. Loco Translate loads the files of that folder, so they stop showing while the plugin is deactivated or deleted.

#### ▶️ Step 1.

Go to **Loco Translate → Themes** and click **Velum**. If Loco Translate is not in the menu, activate it again in **Plugins → Installed Plugins** first. If your language is no longer in the list, the file was in a folder that an update replaced.

#### ▶️ Step 2.

Create the language again as described above, with **Custom** selected under **Choose a location**, and translate the strings.

::: warning The translation does not show on your site?
WordPress uses a translation only when the site language matches it. Go to **Settings → General** and set **Site Language** to the language you translated.
:::

::: warning Folder not writable?
Loco needs `wp-content/languages` to exist and be writable by the web server.
:::
