Appearance
Translating Theme
The Asli theme is fully translatable into other languages.
For easy string translation, I recommend installing the free Loco Translate plugin, which allows you to translate your theme directly from the WordPress admin panel.
Preparing for Translation
WARNING
Before translating, ensure that the folder 📁 wp-content/languages/loco/themes exists and is writable by the web server.
If WordPress automatic updates are enabled, the 📁 wp-content/languages folder likely already exists.
The 📁 /loco subfolder is essential as it protects your custom translations from being overwritten by automatic updates.
Translation Dashboard
If you haven't already installed and activated Loco Translate, please do so now.
Go to Loco Translate → Themes in the WordPress admin panel. You will see a list of available themes. Find Asli in the list and click on it.


New languageAdding a New Language
To start translating the theme into another language, click New language. You will be directed to a new screen where you can choose the desired language.
Select a language from the dropdown list. For example, selecting German will set the language code to de.
If your folders are set up correctly, you should see an option marked as Custom.

On the editor screen, you will see all translatable theme strings. Untranslated strings appear in bold blue.

Save once done