For me too. Apparently, the issue was in doing this (which was not presented correctly in my previous mail, sorry about that):
$date = $langs->trans("Date"); print "<td>".$date."</td>"; For some reason, that printed <td></td> Anyway, I changed it to call $langs->trans("Date") directly and it works. Thanks. Le dimanche 28 juin 2015 à 19:31 +0200, Olivier Geffroy a écrit : > When I use that > print "<td>" . $langs->trans("Date") . "</td>"; > > > > it's working > > 2015-06-28 18:14 GMT+02:00 Yannick Warnier <ywarn...@beeznest.org>: > 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 > Dolibarr-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > > > > > -- > > > > Olivier Geffroy > Consultant Informatique > > > Jeffinfo a 15 ans cette année > ------------------------------------- > Jeffinfo SARL > 295 rue d'aire 59660 Merville > j...@jeffinfo.com > Gsm : 0608632740 > Skype : darkj3ff > > > _______________________________________________ > Dolibarr-dev mailing list > Dolibarr-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev _______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev