[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtigercrm-developers
Subject:    [Vtigercrm-developers] Vtlib language manager
From:       "Estefan Civera [Italy]" <estefan.civera () gmail ! com>
Date:       2015-06-26 16:53:20
Message-ID: 1435337600194-16729.post () n4 ! nabble ! com
[Download RAW message or body]

I all after creation a new custom module I want extend other modules like in
the example below

Then after installation I want create a related field in a standard module
that link my new module

function vtlib_handler($moduleName, $eventType) {
		global $adb;
 		if($eventType == 'module.postinstall') {
			// WRITE CODE TO ADD NEW FIELD IN ANOTHER MODULE....
		}
 	}

now I would lile to add a new string definition in language file in standard
module, for a particolular language

for example

$vti = new Vtiger_LanguageImport();
$vti->addItem('OTHERMODULE','LBL_FIELD', 'en_us', 'my custom label');
$vti->addItem('OTHERMODULE','LBL_FIELD', 'it_it', 'la mia etichetta');
$vti->addItem('OTHERMODULE','LBL_FIELD', 'fr_fr', 'xxxxx');

do vtlib provide this function?
I've searched into Vtiger_LanguageImport but I've no found similar function




-----
Ing. Estefan Civera
Vtiger developer and consultant
http://www.estefancivera.net
Italy
--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Vtlib-language-manager-tp16729.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.
_______________________________________________
http://www.vtiger.com/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic