Sorry i made a modification to perform that translation and i thought that it was original code from osTicket.
in include\staff\viewticket.inc.php and include\client\viewticket.inc.php
find... (around line 16)
$id=$ticket->getId(); //Ticket ID.
Add this code below:
$stati = $ticket->getStatus();
switch(strtolower($stati)){ //Status is overloaded
case 'open':
$ger_status='Ouverte';
break;
case 'closed':
$ger_status='Fermée';
break;
default:
$ger_status='Ouverte';
}
find...(around line 45)
<tr>
<th>Status:</th>
<td><?=$ticket->getStatus()?></td>
</tr>
replace by...
<tr>
<th>Status:</th>
<td><?php echo $ger_status?></td>
</tr>