Translating the HR Frontend
This documentation will lead you to the way to translate the WPERP HR Frontend extension to any language.
Before you move to translate the WP HR Frontend, you need to translate the core WP ERP plugin. We recommend you read this doc so that you can translate the WP ERP core plugin conveniently.
Once you have done translating the core plugin, start following the steps below to translate the hr frontend extension:
Step 1
From the WordPress directory, go to the …/wp-content/plugins/erp-hr-frontend/languages/
Now you’ll see an “erp-hr-frontend.pot” file.
Step 2
Open the “erp-hr-frontend.pot” file with poedit (or with any other alternative of Poedit).
Next, you will see the following popup. Insert the language code and the region code of your native language and country and click ok. Put an underscore (_) sign between them while inserting.
Step: 3
Now, keep translating the source texts.
Step: 4
After translating, compile the “.mo” file and save it as “erp-hr-frontend.mo”.
Step: 5
Finally, you will have to generate a “.po” file and rename it as “erp-hr-frontend.po”.
Save the file.
Here is how the “.mo” and “.po” file will look like after renaming and saving them.
That’s how you can translate the WP ERP HR Frontend plugin.
Note:
Please note that if you want to set the site language to your native language, navigate to the WordPress Admin Dashboard > Settings > General > Site language.
Now choose your native language from the dropdown menu and save the changes.