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