Skip to content

Translating the theme ​

The theme and its plugins are translation-ready. The free Loco Translate plugin edits translations from the WordPress admin.

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

PieceText domain
Themevelum
Child themevelum-child
Velum Corevelum-core
Velum Elementorvelum-elementor
Velum AJAX Transitionsvelum-ajax-transitions

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

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.

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

▶️ 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

▶️ Step 2. ​

Click New language.

New language sits above the list of existing translations

▶️ Step 3. ​

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

The language list shows the WordPress languages

▶️ 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

▶️ 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

My translations went back to English after an update ​

Loco Translate → Themes → Velum

Custom is the location that no update touches

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.

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.

Folder not writable?

Loco needs wp-content/languages to exist and be writable by the web server.