When I use that
print "<td>" . $langs->trans("Date") . "</td>";

it's working

2015-06-28 18:14 GMT+02:00 Yannick Warnier <[email protected]>:

> Hi,
>
> In htdocs/compta/tva/quadri_detail.php, there are several language files
> inclusions, but if I add:
>
> $langs->load("main");
>
> And then use:
>
> print $langs->trans("Date");
>
> ... I get no output. Is there anything wrong in the way I'm doing it?
>
> I first thought this was because my system was configured in fr_BE, but
> then changed it to fr_FR and checked main/langs/fr_FR/main.lang and
> "Date" is definitely defined, so I'm a bit lost...
>
> Cheers,
>
> Yannick
>
>
> _______________________________________________
> Dolibarr-dev mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>



-- 


*Olivier Geffroy**Consultant Informatique*



*Jeffinfo a 15 ans cette année
<http://www.jeffinfo.com/ma-petite-entreprise-15-ans/>-------------------------------------*

*Jeffinfo SARL**295 rue d'aire **59660 Merville*


*[email protected] <[email protected]>Gsm : 0608632740**Skype : darkj3ff*
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à