[Vtigercrm-developers] Vtiger.php language pack / app.translate

Alan Lord alanslists at gmail.com
Fri May 29 14:51:47 GMT 2015


Is there a way around this?

I have an extension module which uses quite a bit of Javascript (loaded 
via a HEADERSCRIPT) and I'd like to be able to translate various 
messages and labels etc...

The php translation function vtranslate() is fine because I can specify 
the module to search for the translation strings but the Javascript 
app.vtranslate has no such feature and the $jsLanguageStrings() language 
array is not being loaded because it is an Extension module...

Cheers

Al


On 19/03/15 16:22, Uma S wrote:
> Hi,
>
> Thanks! for clarification.
>
> Yes, module related translations is found in Module file if not fallback
> to vtiger file. Are you looking for translations in different file?
>
> On Thu, Mar 19, 2015 at 8:04 PM, Conrado Maggi
> <comaggi at gmail.com
> <mailto:comaggi at gmail.com>> wrote:
>
>     Hello Uma,
>
>     Thanks.. I mean the following scenario:  if I register a header
>     script to run a function in accounts modules or add a link n the
>     sidebar, if the string to be translated is not in present
>     Accounts.php, them won't be translated.
>
>     You have to manually edit either Vtiger.php or Accounts.php language
>     file for this to work.




More information about the vtigercrm-developers mailing list