[Vtigercrm-developers] access custom module js strings from anywhere

Alan Lord alanslists at gmail.com
Mon Jun 29 06:26:11 GMT 2020


On 28/06/2020 22:31, Rubén A. Estrada Orozco wrote:
> Hi everyone,
> 
> I have a custom module and I need to translate it into two languages. My 
> module has an always visible widget (like quickcreate) that uses the 
> app.vtranslate JS function. It works ok whenever I'm located in the 
> listview or a detailview  of my module. Whenever I'm on a different 
> module, translations break.
> 
> How can I make my JS translation strings be available system-wide 
> without overwriting the main vtiger.php translation file?

Currently you can't:

https://code.vtiger.com/vtiger/vtigercrm/issues/1240


Al



More information about the vtigercrm-developers mailing list