nosta1337
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] Trying to add language for Paid Membership ProWorks like a charm. Over and out.
Forum: Plugins
In reply to: [qTranslate X] Trying to add language for Paid Membership ProI will try it out tomorrow and gice you feedbacks.
Forum: Plugins
In reply to: [qTranslate X] Trying to add language for Paid Membership ProAwesome. It did work. Here is the file for paid-membership-pro:
{"vendor":{"plugins/paid-membership-pro":"1.0"}, "admin-config": { "membership-levels": { "pages": { "admin.php":"" }, "forms": { "main":{ "fields":{ "name": { "jquery": "input[name='name']" }, "description": { "jquery": "textarea[name='description']" }, "confirmation": { "jquery": "textarea[name='confirmation']" } } } } } }, "front-config":{ "all-pages": { "filters": { "text": { "pmpro_email_filter":"20" } } } } }
Thanks for your help.
For those who want to use it too, I did add the following to the admin page, where the membershiplevels can be changed:
<form id=”main” name=”main” action=”” method=”post” enctype=”multipart/form-data”>
Forum: Plugins
In reply to: [qTranslate X] Trying to add language for Paid Membership ProThanks for your answer. I think I did forget to put the new file in the qTranslate options. After deactivating/activating the file was loaded there automatically.
Then I had to do some fixes on the json file, but no it works as expected.
Here is the code:
{"vendor":{"plugins/paid-membership-pro":"1.0"}, "admin-config": { "membership-levels": { "pages": { "admin.php":"" }, "forms": { "main":{ "fields":{ "name": { "jquery": "input[name='name']" }, "description": { "jquery": "textarea[name='description']" }, "confirmation": { "jquery": "textarea[name='confirmation']" } } } } } } }
But as I thought this doesn’t fix my problem.
Before I implemented this json I did the magic with [:en]English[:de]deutsch[:]. The problem is that when an e-mail is sent, as far as I found out, it just takes the name from the database directly (so it doesn’t get translated to the language, it’s sent as a complete string).
Is there any easy way to fix that? Otherwise I will try to search for those and replace it with a substring.
Thanks again for your help.