Forum Replies Created
-
Author
-
dicersParticipant
Just to let you know, the purpose for this is for the administrator of the site to be able to send announcements to all the users.
dicersParticipantHi Laura,
To put it more simply the setting called “Restrict users from sending private messages” in Memberships also prevents reading private messages as well. I want my users to be able to *read* private messages, even if I enable the “Restrict users from sending private messages” setting.
Can this be done?
dicersParticipantI forgot one thing to ask as well. My users are not getting an email notification when a private message is sent. I am using a test user to check on this, and my settings are set to ‘Yes’ to receive email notifications when a member sends a message. How can I check where the problem is?
dicersParticipantSorry, I meant the file I think it is related to the wp-content/themes/sweetdate/registration/activate.php
dicersParticipantThere is another translation issue in addition to the above Print button.
There is a phrase after the activation of the account that says:
"Your account was activated successfully! You can now <a href=\"%s\">log in</a> with the username and password you provided when you signed up."
This is in the buddypress po file as well as sweetdate. I translated it in both places, but it remains untranslated.
I think it is related to the wp-content/themes/sweetdate/registration/register.php file.
Thanks.
Attachments:
You must be logged in to view attached files.dicersParticipantHi,
I replaced the updated invoice.php. The phrase ‘Invoice %s on %s’ is translated, but the text on the ‘Print’ button remains the same. I translated the ‘Print’ text both in sweetdate\languages\xx_XX.po and plugins\paid-memberships-pro\languages\pmpro-xx_XX.po
I attached a screenshot to clarify my explanation.
Thanks.
Attachments:
You must be logged in to view attached files.dicersParticipantI apologize for the duplicate post. I tried to find a way to delete the other one I created, but couldn’t.
dicersParticipantHi Abe,
I think you missed attaching the new invoice.txt file. The Print button doesn’t look any different. The word ‘Print’ is in the pmpro-xx_XX file, but it is not a translatable phrase in this php file.
Thanks for the help so far.
dicersParticipantHi,
Sorry about the duplicate post… I tried to delete my other topic, but didn’t see how.
There is another issue in this line:
<i class=”icon icon-print”></i> Print
There is no translation for the word ‘Print’ on the print button.
dicersParticipantHi,
It’s still not translating. This was the file I was editing. I have Codestyling Localization… this is how I translated all the other text. If I change the text in wp-content/themes/sweetdate/paid-memberships-pro/pages/invoice.php (lines 22 and 25) then I see the text I want, but this is not a good solution for theme updates.
Does it have to do with the theme using the sweetdate php files and not the php files of the plugin?
dicersParticipantI am using Codestyling plug-in, I found the phrase “Invoice #%s on %s” and “Print” in the plug-in translation. I did translate it, but just these 2 things are not being translated, and I can’t understand why. This is just 2 examples of phrases not translating. It seems there are several translations that are just not working. When I check the location of the php files for these particular phrases, they are:
“Invoice #%s on %s”
pages/confirmation.php:41 pages/invoice.php:22
41 <?php printf(__(‘Invoice #%s on %s’, ‘pmpro’), $pmpro_invoice->code, date_i18n(get_option ‘date_format’), $pmpro_invoice->timestamp));?>“Print”
pages/confirmation.php:43
43 <?php _e(‘Print’, ‘pmpro’);?>I can’t understand what’s wrong, all other phrases are translated.
Attachments:
You must be logged in to view attached files.dicersParticipantHow can I translate the phrase: “Invoice #%s on %s” on the membership-account/membership-invoice page (\wp-content\themes\sweetdate\paid-memberships-pro\pages\invoice.php)
I tried the po files located in:
wp-content\plugins\paid-memberships-pro\languages\pmpro-xx-XX.po
wp-content\themes\sweetdate\languages\xx_XX.poThis is just one example. There is also the print button from the same page which I can’t find. Translating this theme is very frustrating!
Thanks.
-
AuthorPosts