[Vtigercrm-developers] Translation bug in 6.1?

Matteo Baranzoni info at greenbitweb.com
Fri Oct 17 07:49:41 GMT 2014


+1 for Matus and language on DB!

2014-10-17 9:45 GMT+02:00 IT-Solutions4You <info at its4you.sk>:

> There are many limitation in translation and some custom modules are not
> working correctly without change vtiger source code lang files. Can you
> please think about move it from language files to database. This will make
> the system more customisable. We told you this idea in September 2013 in
> vtiger CRM comunity meeting in Brescia.
>
> Matus ITS4You
>
>
>
>
>
> Dňa 17. 10. 2014 8:30 Uma S  wrote / napísal(a):
>
>> Hi Alan,
>>
>> In modules/Vtiger/models/RelationListView.php, the link object is
>> generated which is rendered in RelatedList.tpl.
>>
>> In RelationListView.php getSelectRelationLinks() api, Label is generated
>> as below.
>>
>> 'linklabel' => vtranslate('LBL_SELECT')."
>> ".vtranslate($relatedModel->get('label')),
>>
>> As second variable for vtranslate is not passed, It's looking for
>> translation in Vtiger. Which is causing the problem.
>>
>> On Thu, Oct 16, 2014 at 11:21 PM, Alan Lord (News)
>> <alanslists at gmail.com
>> <mailto:alanslists at gmail.com>> wrote:
>>
>>     On 16/10/14 18:46, Alan Lord (News) wrote:
>>
>>
>>
>>             $languageStrings = array(
>>                  'LSGifts' => 'Gifts',
>>                  'SINGLE_LSGifts' => 'Gift',
>>                  'LBL_ADD_RECORD' => 'Add Gift',
>>                  'LBL_RECORDS_LIST' => 'Gifts List',
>>
>>
>>
>>     Think it's definitely a bug...
>>
>>     See attached (Note the label in the right column). Maybe because the
>>     translation is looking in the wrong module for that button?
>>
>>
>>
>>
>>
>>     --
>>     Libertus Solutions
>>     http://www.libertus.co.uk
>>
>>     _______________________________________________
>>     http://www.vtiger.com/
>>
>>
>>
>>
>> --
>> With
>> Best Regards
>> Uma.S
>> Vtiger Team
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141017/2ef49267/attachment-0001.html>


More information about the vtigercrm-developers mailing list