Varuna

  1. Home
  2. Docs
  3. Varuna
  4. Translating Text and Labels

Translating Text and Labels

You might want to change the text, labels and notices seen throughout Varuna Theme, for example if your site is in another language. This page explains how to use a language translation file to customize all text instances found in Varuna Theme. You do not want to modify the text in the code of the actual theme, as it will all be removed as soon as you update the theme. You need to modify text using the included language translation files. This is the same method used in all WordPress plugins.

Automatic Translation via Loco Translate

We recommend using Loco Translate plugin to translate all text found in the Varuna Theme language files.

Troubleshooting

I am unable to re-translate my theme

After translating the theme, when you go back to translate it again you might find that your translation file is no longer listed for the theme. If this happens, in Loco Translate click on the theme link and then click on the “Setup” tab. Click the “Reset Config” button. Now everything should work again.

Was this article helpful to you? Yes No

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *