With WPML, you can manually translate strings added with Astra.
In this article, we have explained how to translate a custom text in Astra’s primary header as an example. You can follow a similar method for translating any other string in Astra.
Custom text can be added to Astra header from customizer under Header > Primary Menu.
Here are the steps to translate string with WPML –
Step 1 – From the WordPress dashboard, navigate to WPML -> String Translation page and click the Translate texts in admin screens option.
Step 2 – You need to make custom menu item translatable.
- For that find the option astra-settings.
- Opening it you will get options for font-size-body.
- Select header-main-rt-section-html
- Apply the changes.
Step 3 – Navigate to WPML -> String Translation page.
Step 4 – The string will appear at the top and you can translate it just like any other strings.