August 12, 2019 at 10:44 am #18727
Could you please make “Already a member of this level” translatable? I can’t find it in Loco.
I have a page where pre-registered users can choose their membership:
Initially, they have a free membership which is just a “first-step” to get registered.
Then, they are redirected to this page, where they can choose either the “official” free membership or one of the paid ones.
Later, they can come back to this page to choose a different membership.
So, as I’m testing:
– When a user chooses a membership, and later they come back to this page to choose a different one, the place where the button to access their current membership is, reads: “Already a member of this level”.
I need that to be in my language.
MartaAugust 12, 2019 at 11:07 pm #18733
Hi Marta, just to clarify your issue further. Can you share the URL to the page they can sign up for a different membership level? Or is this page protected? If it is protected can you share a screen capture that shows the string not translated.
Also can you share the settings enabled for this under Advanced Settings or Ajustes avanzados.
Thank youAugust 13, 2019 at 3:45 pm #18739
Hi, the page is totally protected.
Here’s a pic: drive.google.com/open?id=1BrgYiyc8kktPaXpD4vj3C9BT61fZ9etk.
This is a place where the user will come back to choose another membership. There are three memberships, once they are registered with a free-just-for-register membership.
Here, they have chosen the free membership, which is Pobladora. There was a button there, they pressed it and they were redirected to their membership account. Then, after a while, they decided to come back to this page, and choose a paid membership, like Maestra. So, now they can see that.
That text, should be in Spanish, but I can’t translated it.
Now, about my advanced settings: 0 means not activated and 1 means activated:
– https://… (my homepage)
– Do not delete
– Registro inicial
– https://… my term and conditions
I hope this helps. If not, I can open the access to that page. It’s everything on a staging site at the moment.
Kind regards,August 13, 2019 at 10:18 pm #18743
Hi, what shortcodes have you added in this page in question?
RegardsAugust 16, 2019 at 4:03 pm #18760
Apologies for the delay.
The one which is showing this sentence in English is:
[swpm_update_level_to level=”3″ button_text=”Gratis” redirect_to=”https://test.mujeressentadasencirculo.org/tu-cuenta/”]
Now, in case it’s useful to you, in this page I’m also using:
[swpm_payment_button id=6275 button_text=”Suscríbete por 19,99 € /mes”]
[swpm_protected for=”2″ do_not_show_protected_msg=”1″]
[swpm_protected for=”3-4-5-6″ do_not_show_protected_msg=”1″]
[swpm_protected for=”3-4-5-6″ do_not_show_protected_msg=”1″]August 16, 2019 at 11:05 pm #18762
Hi, I have double and triple check and I cannot find the message “Already a member of this level”. I followed your instructions using partially protected addon with similar shortcodes and I always get the correct message.
I have submitted a message to the developers to investigate further your issue.
Kind regardsAugust 17, 2019 at 7:34 am #18764
What is the correct message you always get?
For me it’s not that “Already a member of this level” is incorrect, but it’s in English, and I want to translate it.
Thanks for submitting a message to the developers… That sentence obviously comes from your plugin, so it has to be somewhere. It’s just placed on the update membership button place. Have you check the code for that button?
MartaAugust 18, 2019 at 1:19 am #18779
I have added that message to the POT file of the core plugin (so you can translate it). You may need to regenerate the POT file of your language. If you look in the POT file of your language, do you see that message there?August 19, 2019 at 6:19 am #18783
The phrase you want to translate has been added to the pot file most recently and is not yet in the Spanish po file. When you check the po file with the plugin “loco translate” you get the impression the po has been translated to 100%. That’s true for the phrases included in the po file, but unfortunately the po file contains only 411 rows and the pot file contains 607 rows. Meaning only 67% of the rows of pot file have been translated in Spanish.
If you want to translate phrases, poedit (https://poedit.net/) is a great tool to use. If you want to include the phrase you want to translate, I suggest you use poedit.
Download these files from your website: simple-membership-es_ES.po, simple-membership-es_ES.mo and simple-membership.pot. Open the po file with poedit. Click on Catalogue and then on “Update from pot”. You should see now a lot of rows not being translated yet. You will now find the phrase you are looking for. Once you’re done, save the files and upload the po and the mo files to your website.
In case poedit can’t open the pot file and you get an error message, you need to do the following, using the “Loco translate” plugin. Find SWMP under Plugins, click on translate and then open the pot file (do NOT open the po file) Make a minor change anywhere, for instance add space and the delete it in one of the rows and then save the pot file, which is basically unchanged. (Make sure you do not click on “sync.”) After you saved the pot file, download it and use this pot file to update the po file with poedit. This should work.
Keep in mind your po and mo files get replaced when you update SWMP. You need to upload your po and mo files after an update again.August 19, 2019 at 5:15 pm #18787
This is solved! Thank you!
You must be logged in to reply to this topic.