- This topic has 3 replies, 3 voices, and was last updated 5 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Translation of email
Tagged: translation
Hi, I have read the documentation about the translation, but I want to translate to portuguese the message sent by email for new users. I did not found it in the .PO/.MO files. It seems to be stored in this file: /simple-membership/classes/class.swpm-installation.php
What is the best practice to translate it? I don’t want to edit the file directly because it would be overwritten during a plugin update. Should I try to change this variable in my template / functions.php file? If so, is there any template that I could follow?
Thanks!
Hi,
for me as a user the easiest way is to use poedit. (download from poedit.net)
Download from your site the .mo, .po and the .pot files. Open the .po file with poedit and then update this .po file from the .pot file using poedit. You should then find the strings you are looking for.
After you finished the customization, then upload the updated .po and .mo files to your site.
If SWPM gets updated, your .po and .mo files will be gone, so you need to upload your files again.
hope this helps.
Best regards
Hi,
Hi, I have read the documentation about the translation, but I want to translate to portuguese the message sent by email for new users. I did not found it in the .PO/.MO files. It seems to be stored in this file: /simple-membership/classes/class.swpm-installation.php
If you go WP Membership -> Settings -> Email Settings, you should be able to translate all the messages sent via email into Portuguese. Let me know if this is what you are referring too?
Thank you
Thanks! I would suggest to include this reference in the documentation as well.