[eluser]Mahmoud M. Abdel-Fattah[/eluser]
I'm creating a multi-language website. I'm sending some mails to the users, and of course using variables in the mail, such as ( username, code, etc. ).
now can I use define the whole mail including Variables in the language file ??
or should I make it manually, in the email library file ?? for example :
Quote:if($this->session->userdata('language') == "eng")
$msg = "hello " . $username;
elseif
$msg = "مرحبا " . $username;
then the website admin will edit the language files & the mail library file too !