How to translate the theme and the plugin?
The plugin/theme contains several texts that you can translate. In order to translate the english text, follow these steps:
- Install and activate the Loco Translate plugin.
- Then from your Dashboard go to Loco Translate > Manage translations
- Click the "+ New language" button next to the plugin/theme name.
- On the next screen select the language/country that you want the texts to be translated. e.g: "Spanish" and continue.
- On the next screen, click on the "Sync" button and all the "English text strings" that are inside the plugin/theme will be listed. Select a text string from the "Source text" list and then add your translated text in the textarea below it.
Example: If we want to translate the text "Next Product" to Spanish, you will have to find the "Next Product" text from "Source text" list and add your translated text in the textarea. In this case "Producto Siguiente" inside the "Spanish translation" box.
6. Then Click the "Save" button from the top and all your translated text should appear on the your website instead of the default English text.
You can translate any text that’s used in the plugin/theme following the steps above.
NOTE: The translated text will only appear on your frontpage depending on your WordPress Language settings you set from Settings > General. If you want to change the default english text to translate to Spanish, make sure you have set your language to "Spanish" from Settings > General.