dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] Language issues


From: Olivier Geffroy
Subject: Re: [Dolibarr-dev] Language issues
Date: Sun, 28 Jun 2015 19:31:40 +0200

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

it's working 

2015-06-28 18:14 GMT+02:00 Yannick Warnier <address@hidden>:
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
address@hidden
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
address@hidden
Gsm : 0608632740
Skype : darkj3ff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]