In this page you can learn how to translate manually language files. This process requires you to translate
the .pot file included in the "languages" folder of the plugin and to set the WordPress site with the matching the language.
Let's list now all requested steps to complete process.
Change site language
Firstly, you need to change the language of your WordPress platform in order to display the translated plugin.
Go to the http://wpcentral.io/internationalization/ page and select the language in which you want to translate the plugin.
If the translation for the language you have selected si available for the download, click on the button to download the zip file.
Unzip the package you have downloaded and copy all files in the path wp-content/languages inside your WordPress installation.
If no translation is available for the language you have selected, download WordPress in the language you want, go to wp-content/languages, copy all files you find in the "wp-content->languages" folder and paste them in the same folder of the WordPress installation you want to translate.
Now open the administration panel of your theme and go to the "Settings -> General" section. At the bottom of the page, select the new language for your installation and click on "Save changes".
Now all WordPress options will be showed in the selected language.
Language file of the plugin
The original language file of the plugin is yith-booking-for-woocommerce.pot and it is included in the "languages" folder of the plugin. In order to create the new language file, follow these steps.
Download Poedit, the software you need to translate the strings of the plugin. Now open the file yith-booking-for-woocommerce.pot and click on the "Create new translation" button.
Select the language in which you want to translate the plugin.
Now translate the strings one by one. Once finished, click on the "Save" button and rename the file adding the slug of the plugin to the suggested file name (e.g., yith-booking-for-woocommerce-it_IT).
If everything worked fine, the .po and .mo files will be created automatically in the "languages" folder of the plugin.