dolibarr-dev
[Top][All Lists]
Advanced

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

Re: [Dolibarr-dev] Language issues


From: Yannick Warnier
Subject: Re: [Dolibarr-dev] Language issues
Date: Sun, 28 Jun 2015 14:17:01 -0500

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 <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
> 
> 
> _______________________________________________
> Dolibarr-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev





reply via email to

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