Translation
Using Pot File
Suppose we want to translate in Dutch language.
Steps :
-
Download poedit software from http://poedit.net/
-
Make your wordpress installation with Dutch language.
-
Add language code in
wp-config.php
file . For Dutch it is defined as ('WPLANG','nl_NL'
); -
Create a
.po
file for Dutch language frombookingly.pot
plugins->woocommerce-rental-and-bookings->languages
file with poedit software. -
Save the
.po
file with Dutch language code. So the file name will bebookingly-nl
_NL.po
and put this file inplugins->woocommerce-rental-and-bookings->languages
directory. You will find your language code here http://wpcentral.io/internationalization/ -
Now your Translation complete.
-
Open Poedit software
-
Click Edit a translation link
-
Then open your
.po
file from the window -
Then from select
menu -> catalog -> update
from pot file -
Select the
.pot
file.Your.po
file will be updated automatically according to your new.pot
file. -
Thank you for your patience :-)