February 9, 2021 at 2:13 pm #22115
I need to translate the error messages in <div class=”swpm-warning swpm-yellow-box”> that appear above the registration form.
In particular I need to change the following: ” Already taken.” and ” Password does not match”.
I found the “.pot” file in /wp-content/plugins/swpm-form-builder/languages/swpm-form-builder.pot
I used “poedit” to translate the validation messages I needed.
Not too sure where to save the resulting swpm-form-builder-it_IT.po and swpm-form-builder-it_IT.mo files.
I placed them in different locations:
Nothing seems to work.
The only thing that works is to modify the error messages in /wp-content/plugins/swpm-form-builder/classes/class.swpm-fb-form.php
How can I safely overide this file?
What else can I do?
Please let me know.February 10, 2021 at 10:46 am #22119
For premium addons, please create a premium addon support ticket.
Thank youFebruary 10, 2021 at 11:29 am #22120
thank you for your response. I actually di create a premium addon ticket yesterday. 24 hours have passed and I haven’t received any response. Maybe it got lost.
I just opened a new ticket.
Hope to have a reply soon.
LaurentFebruary 11, 2021 at 1:11 am #22127
We have sent 2 replies to your emails in the last 24 hours. Looks like our email maybe going to your spam box. Please check the spam box of your inbox and let me know if you see our reply.February 11, 2021 at 1:12 am #22128
Regarding your original question, Just translate the language file of the core plugin (the main simple membership plugin’s language file). Those strings come from the core/main simple membership plugin.
So if you just translate the main plugin’s language file to your language, you should see them translated:
https://simple-membership-plugin.com/translate-simple-membership-plugin/February 11, 2021 at 11:48 am #22129
Hello, thank you for your responses. I haven’t received the 2 emails from support. The only emails I’m receiving are the notifications form your forum. I have looked everywhere but I haven’t received them.
Regarding the language file of the core plugin, some of the strings are already translated. Furthermore the string “password does not match” is NOT in the core plugin’s language file. It can be found inside: /wp-content/plugins/swpm-form-builder/languages/swpm-form-builder.pot
“Already taken” is already translated in the language file of the core plugin but it still shows in english in my custom form!
Please view the screenshot: https://imgur.com/a/H7iC8cC
The only way I have managed to traslate the strings is by modifying this file: /wp-content/plugins/swpm-form-builder/classes/class.swpm-fb-form.php
As it can be seen here: https://imgur.com/a/WHWjGlN
But this is not good practice as I’ll loose the mdoifications as soon as the plugin is upgraded.
Do you want FTP access? I can open a new ticket to send you the credentials, but please remember I’m not receiving your emails from the ticketing system.
Please let me know.
You must be logged in to reply to this topic.