Subscribe To Comments Reloaded
qTranslate compatibility (2 posts)

  1. side777
    Posted 4 years ago #

    This is a great plugin and it's working fine. :)
    But: it's not really compatible to qTranslate. They biggest problem is that notification emails are sent in the admin's language (best case. worst case would be the language of the commenter. I didn't check this.)

    In order to send messages to each subscriber in their language you would have to save that somehow when subscribing.

    The function qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage doesn't work here because it really returns the CURRENT language. I changed the plugin to use qtrans_use and provide the desired user languages. (which I save for each user as meta data with my own script, independent from qTranslate.)

    BTW, to simply split the content by language you don't have to use qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage. use __(), qTranslate will do the rest.


  2. Jérémy
    Posted 3 years ago #

    I second that !

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Subscribe To Comments Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic