• Resolved GSMtricks

    (@gsmtricks)


    In case if I have a site in a few languages, is there any option to send notifications from JUST a specific language?

    Another way all the messages will be sent in all language variants.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Irshad Ahmad

    (@irshadahmad21)

    Hello,

    It’s not possible out of the box but needs some custom code. Here is the example code for Pro version
    https://wptelegram.pro/docs/wpml-post-language-rules/

    You can use the similar code for free version.

    Thread Starter GSMtricks

    (@gsmtricks)

    Thank for code.
    I have added to child theme function.php

    But in plugin settings no any new options or rules.
    I thought there will be some new rule like:

    					'value' => 'post_lang',
    					'label' => __( 'Post Language', 'text-domain' ),

    Can you help me pls?

    As well it will be good to have an option to send post comments as well.

    Plugin Author Irshad Ahmad

    (@irshadahmad21)

    That code is for the Pro version, you need to update it to us the actions/filters of the free version.

    Thread Starter GSMtricks

    (@gsmtricks)

    Thank you again.
    Checked the source code and did some changes, now I can choose a language.
    Looks very nice.

    What about the option to post comments as well?

    Plugin Author Irshad Ahmad

    (@irshadahmad21)

    Comments can be sent to Telegram via Private Notifications module if you receive emails for comments.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WPML?’ is closed to new replies.