Thread Starter
serjao
(@serjao)
Sorry, disregard doubt about personalization.
I translated the plugin and copy the pt_BR.mo and pt_BR.po files into the languages folder, but the replies are still sent in the English language.
Ps: The wp-config.php file has the configuration: define(‘WPLANG’, ‘pt_BR’);
What do I need to do to have the replies send in my language?
Thread Starter
serjao
(@serjao)
Solved!
I changed pt_BR.mo by simple-comment-notification-pt_BR.mo
@serjao You are talking about default plugin functionality or about additional notification (autoresponder)? Only additional functionality have ability to personalize email title and body. If You only wanted to translate default content please add Your translations here:
https://translate.wordpress.org/locale/pt-br/default/wp-plugins/simple-comment-notification
Thread Starter
serjao
(@serjao)
I talking about default plugin functionality.
I added my translation in the plugin page.
One question: Is possible add a checkbox for user authorize the reply in default plugin functionality?
Thank You for translations π About Your question – yes, it’s possible. I will try to add this in next version.
Thread Starter
serjao
(@serjao)
This would be great. Thanks for attention!
Thread Starter
serjao
(@serjao)
Please, update plugin. I need this feature. How can I help you?
Thread Starter
serjao
(@serjao)
Hello,
Do you have any news on this?
@serjao I don’t have much of free time to done that, I added Your request into “to do list”.
@serjao I just added subscription functionality (checkbox for user authorize the reply). To enable it You must use filter scn_enable_subscription and return true value:
add_filter('scn_enable_subscription', '__return_true');
It’s possible to change default checkbox value by filter scn_subscribe_value, example:
add_filter('scn_subscribe_value', '_return_false');
Please test it (You must download development version: https://downloads.wordpress.org/plugin/simple-comment-notification.zip) and let me know π
-
This reply was modified 7 years, 2 months ago by Beherit.
-
This reply was modified 7 years, 2 months ago by Beherit.
Thread Starter
serjao
(@serjao)
Thanks for this.
Not showed checkbox for me.
I install development version and added the filter in functions.php:
add_filter(‘scn_enable_subscription’, ‘__return_true’);
@serjao what theme do You use?
Thread Starter
serjao
(@serjao)
It’s a personalized theme.
Thread Starter
serjao
(@serjao)
I tried now with Twenty Eleven theme and not worked too.
Thread Starter
serjao
(@serjao)
It’s possible add the code manually in comments.php?