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

Uma S uma.s at vtiger.com
Thu Mar 19 16:22:56 GMT 2015


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> 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.
>
>
>
>
>
> On Thu, Mar 19, 2015 at 1:16 PM, Uma S <uma.s at vtiger.com> wrote:
>
>> Hi,
>>
>> In js filed you should make use of app.vtranslate() api for translations.
>> Please do refer layouts/vlayout/modules/Acconts/resources/Detail.js.
>>
>> On Thu, Mar 19, 2015 at 4:16 PM, Conrado Maggi <comaggi at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> When working with javascript files to add features to another module the
>>> translations won't work.
>>>
>>> The app.translated function only load the language files from the module
>>> you are viewing so all the messages, labels, etc look like
>>> LBL_YOUR_MODULE_LABEL_TEXT
>>>
>>> Have anyone found a work around for this? Maybe loading the file using
>>> ajax and caching the translation on client side?
>>>
>>> Thanks
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>>
>> --
>> With
>> Best Regards
>> Uma.S
>> Vtiger Team
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> 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/20150319/486a3f04/attachment.html>


More information about the vtigercrm-developers mailing list