How to make translation of plugin?

poedit

poedit_save

poedit_s

  1. Before making translation of wordpress plugin, you need to have Poedit program. You can download it from here. Its completly free.
  2. Start Poedit program.
  3. Select File -> New catalog from POT file from menu and select POT file for translation usually its inside of languages folder.
  4. Type description of your translation
    ( look at picture, example picture is made on translation of “Booking calendar” plugin) .
  5. Enter The name of PO file.
    Name of file consist from 2 parts:
    1st part its the filename of the plugin (in our situation its “wpdev-booking”),
    2nd part its the Locale ( for translation in russian language “ru_RU”).
    So we will have name “wpdev-booking-ru_RU.po”.
  6. Save file to the “languages” folder of plugin.
  7. Make translation.
  8. If you find in translation “%s” symbol you shoud leave it at the same place as at original trnslation line.
  9. Save file after translation.
  10. If you make translation, you can send this translation files (*.po, *.mo) to info@wpbookingcalendar.com and we will add them to the next release of plugin. Thank you.