Hi
Follow the steps to translate language:
1. Download Poedit 1.5.6 and install it.
2. Open Poedit -> File -> New catalog from POT file.
3. Catalog Template will open, select the existing pot file(C:\xampp\htdocs\wordpress-pro\wp-content\themes\appointment\functions\lang) and open it.
4. Catalog properties popup menu will open, no need to make any changes just press ok.
5. In theme Language folder save the file with name es_ES.po
You can not give the file name your own. It have the specific format.
First two letter of language then underscore and two letter of country name.
Do not make any changes in extension.
6. Now all Source text will be extract here.
7. Choose each text string one by one and write the translated string in the translation box
For eg Our Team to Nuestro Equipo
8. Finally save your changes.font-family:”Calibri”,”sans-serif”;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:”Times New Roman”;mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”> Translated text will added automatically in es_ES.po file.
9. You have to add define(‘WPLANG’, ‘es_ES’); this line of code in in wp-config file of wordpress.
Now run your site and see the changes.
Thanks.