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

Uma S uma.s at vtiger.com
Fri May 29 17:19:27 GMT 2015


Hi Alan,

I have reported this issue here in trac
<http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8562>, will look into soon.

On Fri, May 29, 2015 at 8:21 PM, Alan Lord <alanslists at gmail.com> wrote:

> 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.
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150529/5c8fd31e/attachment.html>


More information about the vtigercrm-developers mailing list