Hi @johnymas ,
Glad you reached out! Happy to help.
For Loco, can you try pressing the Sync button in Loco to see if the issue persists?
You can view our guide in here for that — https://givewp.com/documentation/resources/translating-give/translating-givewp-with-loco-translate/#syncing-strings.
Looking forward to helping you get to the bottom of this!
Thank you for your answer. I synced but nothing happened.
Hi @johnymas ,
We’ve also received some reports about this, and we’ve been able to replicate it on a test site. We haven’t written a bug report for this one, as we’re still investigating it. Furthermore, we’re not exactly sure yet whether this was caused by an update from Loco, from WordPress or from our end.
We’ve been able to solve it by relocating the PO file to the “System” Location in Loco — https://share.zight.com/7Kuwy7R4.
You can check out this screen recording for further guidance — https://www.loom.com/share/3b16d306b71343719c30a84fbad280f1?sid=3aed1e1f-9a7d-4176-8430-4dd0760c1902.
Loco has some documentation about that in here — https://localise.biz/wordpress/plugin/faqs/custom-folder.
Please let me know if that works out for you!
Meanwhile, I’m here for further questions.
I’m always happy to help!
Hi, really appreciated for your help so I tried to relocate the PO file but still nothing
Hi @johnymas ,
Apologies, as I realized it late.
In the screenshot that you sent in your initial post, that is a user-defined string. And that is why you cannot translate it using Loco. However, you should see the translation that you did when you create a new form.
I understand that it can be confusing because that part is also present in the strings for Loco translate. The string is available in Loco because in the development of the plugin, it follows the internationalization standard to be translatable, and its string is also a part of the POT file. Unfortunately, it is also a user-defined string, which kind of clashes with that idea.
If the user or admin has not interacted with the field, most translation plugins load the string from the PO files. But once the user has saved the entry, then the translation is picked up from the post’s meta values in the database.
With all that said, the best solution is to change it on the form itself. That label on the donation form can be edited by going to the form that you want to edit, then going to its block settings like so — https://share.zight.com/z8u9L0Dy.
You can read more about this in here — https://givewp.com/documentation/core/give-forms/visual-form-builder/#block-settings.
Please let me know if you have further questions.
I’m always happy to help!
Yes, you are right. I can translate every sentence editing form. 🙂
Thank you 🙂