Translate this plugin in same as all other wordpress plugins. But translation file may be kept in other folder for other plugins.
For this docs we suppose our language code is en_US (for your translation use your own language code).
So translated file name have to be front-end-pm-en_US.po and front-end-pm-en_US.mo (Change language code en_US with your own language code).
You can keep this file in wp-content/languages/plugins OR wp-content/plugins/front-end-pm-pro/languages folder (Both will work).
We can use https://poedit.net/ to create our translation. You can follow following steps to create your own po and mo file using Poedit.
Download Poedit from above link if you do not have already installed.
Create New Translation:
If you do not already have your po & mo file, follow this procedure.
- Run Poedit
- File > New from POT/PO file
- Point front-end-pm-pro/languages/front-end-pm.pot
- Select your language
- File > Save As
- Save file name as front-end-pm-en_US.po (Change en_US with your language code)
- Catalog > Update From Sources
- Now translate strings (texts) to your language
- File > Save (this will update both po & mo file)
Modify Translation:
If you already have your po & mo file, follow this procedure. Keep/copy your po file to front-end-pm-pro/languages folder
- Run Poedit
- File > New from POT/PO file
- Point front-end-pm-pro/languages/front-end-pm-en_US.po (Change en_US with your language code), You may need to change dropdown to show po files.
- Select your language
- File > Save (If file name promoted select your previous file)
- Catalog > Update From Sources
- Now translate strings (texts) to your language
- File > Save (this will update both po & mo file)
Using Loco Translate Plugin
- Dashboard > Loco Translate > Plugins > Front End PM PRO > Edit Template > Sync > Save
- Dashboard > Loco Translate > Plugins > Front End PM PRO > {YOUR LANGUAGE} > Sync > Save
- Now translate if there is any untranslated string.