Support Forums

Multilingual module

This is a discussion on Multilingual module within the Modification Release forums, part of the Developer Forums category; Hi Darek, I've added emails such as 'english_welcome.tpl' to my email template folder it seems to be only sending out ...


Go Back   68 Classifieds Forums > Developer Forums > Modification Release

Reply
 
Thread Tools Display Modes
Old 05-03-2009, 08:06 AM   #11
Graphic / Web Desginer
 
Join Date: Nov 2008
Location: London, England
Posts: 77
Rep Power: 13
DGiscombe is on a distinguished road
Default emails

Hi Darek,

I've added emails such as 'english_welcome.tpl' to my email template folder it seems to be only sending out the default template.

Could you check this out for me please?

Daniel.
DGiscombe is offline   Reply With Quote
Old 05-03-2009, 01:57 PM   #12
Customer
 
Join Date: Dec 2006
Posts: 112
Rep Power: 22
darek is on a distinguished road
Default

Have you changed the file: Mailer.php?
darek is offline   Reply With Quote
Old 05-03-2009, 06:43 PM   #13
Graphic / Web Desginer
 
Join Date: Nov 2008
Location: London, England
Posts: 77
Rep Power: 13
DGiscombe is on a distinguished road
Default

No changes made, the mailer.php file is the one you included.
DGiscombe is offline   Reply With Quote
Old 05-03-2009, 07:06 PM   #14
Customer
 
Join Date: Dec 2006
Posts: 112
Rep Power: 22
darek is on a distinguished road
Default

I think you are doing something that is not correct

first:
change the original file: Mailer.php in includes\classes\kernel

there is a little code in it like this:
PHP Code:
// Multilingual modification
        
if (file_exists(FILESYSTEM_PATH ."templates/default/emails/html/".$lang."_".$content)) {
        
$content=$lang."_".$content;
        } else {
        
$content=$content;
        }
// end 
it says, that if there is a file $lang."_".$content - english_welcome.tpl in folder: templates/default/emails/html/ - this file will be used, if the file is not existant, the script will use original file

this is all

please check if you have all right

also there are settings for sending text content, if this is turned on you need to edit: english_welcome.tpl in templates/default/emails/text/ folder

the multilingual module dosn't really have much to do with it, it only uses $lang variable to find the right file

one more thing - the emails will be sent to user depending on language chosen by the user and cookie he has, lang is a choice for a user, not really your - admin wish, so first yourself go to your own page as user then switch to the language you want to have the email to be sent in then try it by registering or something tha will generate the email

Darek

Last edited by darek; 05-03-2009 at 07:16 PM.
darek is offline   Reply With Quote
Old 05-04-2009, 10:59 AM   #15
Graphic / Web Desginer
 
Join Date: Nov 2008
Location: London, England
Posts: 77
Rep Power: 13
DGiscombe is on a distinguished road
Default

Thanks,

I did not check the mailer.php file to see if it was pointing to the right template folder.

Daniel.
DGiscombe is offline   Reply With Quote
Old 06-06-2009, 06:10 PM   #16
Junior Member
 
Join Date: May 2009
Posts: 28
Rep Power: 10
Incoe is on a distinguished road
Default

how can i buy the language module?
__________________
v4.1.6 Designer
Incoe is offline   Reply With Quote
Old 09-24-2009, 01:22 AM   #17
Customer
 
Join Date: Dec 2006
Posts: 112
Rep Power: 22
darek is on a distinguished road
Default

by paypal, please, read this: ClassifiedMods Multilingual module
darek is offline   Reply With Quote
Old 12-20-2009, 07:40 AM   #18
Junior Member
 
Join Date: Dec 2009
Posts: 4
Rep Power: 0
ashami81 is on a distinguished road
Default

Hi everyone,
I was looking at your site, and I was interested in buying your product, but I was wondering that if I got this multilingual module integrated to the site, will I be able to write in Arabic?
ashami81 is offline   Reply With Quote
Old 12-21-2009, 01:59 AM   #19
Customer
 
Join Date: Dec 2006
Posts: 112
Rep Power: 22
darek is on a distinguished road
Default

Hi Ashami, sorry, I don't know, I guess if you are able to use 68c you would be able to use the module too, the module is independent from 68c, I made sure that there are no errors that national characters could cause, so far it works for polish, german, spanish and french and I think some more languages from south america

so, I would say - if 68c works for you for arabic, the module will work for arabic too
darek is offline   Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 04:11 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0