Translate the HR Frontend
HR Frontend is one of the coolest feature of WP ERP. You can manage everything right from your website’s frontend. You can easily translate it to your own language to have a better experience.
So this documentation will lead you to the way to translate the WPERP HR Frontend extension to any language.
But before you translate the WP HR Frontend, you’ll need to translate the core WP ERP plugin at first. So we recommend you read this doc 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:
From the WordPress directory, go to the …/wp-content/plugins/erp-hr-frontend/languages/
Now you’ll see an “erp-hr-frontend.pot” file.
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.
Now, keep translating the source texts.
After translating, compile the “.mo” file and save it as “erp-hr-frontend.mo”.
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.
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.