Results 1 to 1 of 1

Thread: Expired Ad email language problem

  1. #1
    Thread Starter
    ncirotto's Avatar
    Join Date
    Apr 2014
    Location
    Italy
    Posts
    26
    Thanks
    4
    Thanked 1 Time in 1 Post

    Expired Ad email language problem

    Hi,
    I have Classipress (last version) and WPML (last version) installed.
    All my translations works perfectly (english to italian) but the "automatic email" sended to users with Ad expired, arrive always in English and not Italian.
    I'm sure, I have translated the string and verified where the string is found:
    wp-content/themes/classipress/includes/emails.php
    from line 154.

    The email of subscription to site is in italian, the email of insert Ad is in italian.. I think all work but not the expired ad.

    The WPML support answered me:

    I think you will have to create a separate email template and include it accordingly when language switched.

    For ex.
    Code:
    if(ICL_LANGUAGE_CODE == 'en'){
    include (email_en.php);
    }elseif(ICL_LANGUAGE_CODE == 'it'){
    include (email_it.php);
    }
    email_it.php file will contain Italian translations.

    You need to check the call for email, when the email is triggered, Please ask your theme/plugin author for exact code for email is triggered and replace it accordingly.
    can help me, please?

    Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. email for expired ads
    By shoo in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: December 2nd, 2012, 07:15 AM
  2. Expired ads email notification
    By geraldlum in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: March 8th, 2012, 09:46 AM
  3. Language Email 'forgotten password' can't be changed in own language ?
    By villadecker in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: November 23rd, 2010, 12:57 AM
  4. Ad Expired Email
    By kplunk in forum ClassiPress General Discussion
    Replies: 2
    Last Post: November 19th, 2010, 04:45 PM