[Vtigercrm-developers] two modules missing in $app_strings;

David fire ddfire at gmail.com
Wed Feb 25 06:22:25 PST 2009


if i understand...
it is causing my some troubles to my module creator module, i use

function getrelatedoptions()
{
    global $adb,$app_strings;
    $result = $adb->query("SELECT modulename FROM vtiger_entityname");
    $num=$adb->num_rows($result);
    $salida="";
    for($i=0;$i<$num;$i++)
    {
        $salida=$salida."<option value=\"".$adb->query_result($result, $i,
'modulename')."\">".$app_strings[$adb->query_result($result, $i,
'modulename')]."</option>";
    }
    echo $salida;
}

and if the entries aren't there i cant show the name of the module in the
correct language.

by the way from where i can get the names in the current language of the
vtlib added modules?

thanks
David

2009/2/25 Prasad <prasad at vtiger.com>

> Hi David,
>
> Thanks for the update with vtlib module we are trying to make sure, the
> core files are not touched/modified.
>
> Hence the entries are not updated in $app_strings ... please do point at
> places where this could cause an issue.
>
> Regards,
> Prasad
> vtiger Team
>
>
> On 2/25/09, David fire <ddfire at gmail.com> wrote:
>>
>> hi
>> sorry for the missunderstood.
>> the string in the array $app_strings are missing.
>> the file  vtiger/include/language/en_us.lang.php
>> David
>>
>> 2009/2/24 Prasad <prasad at vtiger.com>
>>
>>> Hi David,
>>>
>>> The modules added through vtlib follow the same directory structure as
>>> any standard module.
>>> You should find the translation file in
>>> modules/Services/language/en_us.lang.php
>>>
>>> Kindly update us from which build/SVN revision did you find the files
>>> missing?
>>>
>>> Regards,
>>> Prasad
>>> vtiger Team
>>>
>>> On 2/24/09, David fire <ddfire at gmail.com> wrote:
>>>
>>>> hi this modules are missing in en_us.lang.php "Services" and
>>>> "ServiceContracts".
>>>>
>>>> by the way the new modules added by vtlib where is stored the
>>>> translation info?
>>>> thanks
>>>> David
>>>>
>>>>
>>>> --
>>>> (\__/)
>>>> (='.'=)This is Bunny. Copy and paste bunny into your
>>>> (")_(")signature to help him gain world domination.
>>>>
>>>>
>>>> _______________________________________________
>>>> Reach hundreds of potential candidates - http://jobs.vtiger.com
>>>>
>>>
>>>
>>> _______________________________________________
>>> Reach hundreds of potential candidates - http://jobs.vtiger.com
>>>
>>
>>
>>
>> --
>> (\__/)
>> (='.'=)This is Bunny. Copy and paste bunny into your
>> (")_(")signature to help him gain world domination.
>>
>>
>> _______________________________________________
>> Reach hundreds of potential candidates - http://jobs.vtiger.com
>>
>
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>



-- 
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20090225/0c48b0ad/attachment-0003.html 


More information about the vtigercrm-developers mailing list