You can change this text using some custom code hooked into the pmpro_level_cost_text filter. Here is an example:
https://gist.github.com/strangerstudios/8150762
Thanks!
But in the language files this should be very easy to change.
The question is where do I do it? (in which file)?
i am facing this same problem i converted all the plugin into Chinese except this line ” The price for membership is $X.XX now.” i tried so hard to solve it but i didn’t get that. i m also waiting for the ans here
The .po files need to be updated with the current pmpro.pot file. This is very simple if you use a program like POEdit.
Hello,
can u please Just tell me where to make change in plugin file that i change the text “The price for membership is” to another language ??
If you edit core plugin files like that, they will be overwritten with the next update. The correct way to do this would be to update your language file with the current pmpro.pot file. You can do this by loading it into POEdit, clicking Catalog then “Update from POT file”. This should make the translation stick.
Hello Messica.
I tried what you said and it seems logical. But somehow I can’t make it work.
I opened file wp-content/plugins/paid-memberships-pro/languages/pmpro.pot with POEdit.
Made the changes.
Saved the file in 2 names: pmpro.po and pmpro-en_GB.po
Uploaded the files.
Nothing happened…
You shouldn’t need to save a “pmpro.po” file, only the “pmpro-en_GB.po” and a “pmpro-en_GB.mo” should be created when you do. Are you just changing the one line in the existing pmpro-en_GB file? Also, are you moving your own language files to the “wp-content/languages/” folder (you may need to create it)?