Trying to add language for Paid Membership Pro
-
Hello,
I’m trying for hours to add the language settings for Paid Membership Pro and I’m stuck.
What I did so far:
1. Create folder “/wp-content/plugins/qtranslate-x/i18n-config/plugins/paid-memberships-pro/”
2. Created json “i18n-config.json” in that folder
3. Edited membershiplevels.php in Paid Membership Pro Plugins, to give the form a name and id (id = “main”)
4. Echo the $pagenow string on that membership page whis says (admin.php).
5. Checked a lot of plugin i18n-config.json files to match mine.My json file:
{"vendor":{"plugins/paid-memberships-pro":"1.0"}, "admin-config": { "admin": { "anchors": { "form-table": { "where": "before" }, "pages": { "admin.php":"" }, "forms": { "main":{ "fields":{ "name":{} } } } } } }
Link to edit page: wp-admin/admin.php?page=pmpro-membershiplevels&edit=1
I hope somebody can give me some hints whats missing here.
Regards,
nosTa
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Trying to add language for Paid Membership Pro’ is closed to new replies.