String translation
in order to translate and adapt all text and widgets in the header and homepage pf your site you should use the string translation section in the admin panel.
you can read full explanation about this here:
https://wpml.org/documentation/getting-started-guide/string-translation/
1. in the "options" section you have the EN text
2. chose the text or widget you want to translate, e.g:
- translating the word "sign-up" to other language
or
- translating and changing a widget call for another language :
widgets.tradesmarter/widget/quick-login (for your default languge, E.G- English ) to
widgets.tradesmarter/zh-cn/widget/quick-login (for Chinease)
3. you should copy the string \ text you want to translate
4. go to the "string translation" section
5. hit on "show all results" in the right bottom of the screen
6. use "Ctrl + f" to search for the text you copied in section 3 here above
7. click on the "translate" tab
8. enter your translated text or widget url with language code
9. check the "translation complete" check-box
10. save your changes
* remember that the
options" section will always contain the English version oof the text and all translation for this version will be done via the "string translation text.
so i our example in the string translation section, fo zh-cn lang we will change the widget url so it will include the language code and we will add the Chinese text for "sign-up"