Sending registration email in different languages

13 years 11 months ago #53754 by matrix845
Hi guys , I'm Using CB with Joomfish and I want to know If it's possible to send email registration (ad approval) in different languages:

-the better solution it's a select where there is the languages so the system send email in this languages
-another one it's to read the joomfish languages in that moment used by user (lang=en,it...) and sending email in that languages.

It's possible?

Thanks for your help


Pierpaolo

Please Log in to join the conversation.

13 years 11 months ago #53755 by matrix845
I see that with original joomla registration the email's language is send depending on the language select in joomfish!

It's possible the same things with Community Builder?;)

Please Log in to join the conversation.

13 years 5 months ago #65966 by bepos
did you find a solution?

Please Log in to join the conversation.

13 years 5 months ago #65975 by bepos
just found a way :

made the definition _UE_RP_APPR_MAIL in default_language.php and ( in my case ) dutch.php

and hack the file comprofiler.class.php around the lines 990 & 1005 :

replaced :
'emailUserMessage' => array( 'sys' => getLangDefinition( stripslashes( $ueConfig ) ) )

with :
'emailUserMessage' => array( 'sys' => _UE_RP_APPR_MAIL )

i know, i know. it's not a nice hack but it works !!
anyone who has a better solution is welcome.

Now i'm only wondering why this was made like this :unsure:

Kind Regards,

Mark

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.199 seconds

Facebook Twitter LinkedIn