[Vtigercrm-developers] Where do the variables in MailParse.php come from?

Torsten Zenk tzenk at gmx.net
Tue Jul 17 17:43:22 PDT 2007

Hi everybody,
i´m working on a way to make all the hardcoded things within the 
MailParse.php i18n compatible.

for example the title=" i want to get into variables. As they are inside 
a javascript string i am quite lost how to do this.
First thing i found out is that i can make

row 67
title="Read"> to

and it then shows me the content of that $num (the number 2 in this 
case). Now if i would make a variable called $read it would show me 
"Read" and it would be okay since i then could add any translated word 
into the variable. But i wonder and this is my main question from WHERE 
is it getting the $num variable e.g. where do i have to add new 
variables? Can anyone tell me where to look at?

After that addition i want to think about how to tell this variable to 
look in the lang file which is choosen by the user, so one only has to 
translate the included varibles in the lang file within the webmails 
module, but that is another step, just wanted to ask if maybe someone 
else has thought about this too?


More information about the vtigercrm-developers mailing list