Minor translation issue with cd collection pdf document

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Minor translation issue with cd collection pdf document

Postby cb » 11. June 2008 23:01

The pdf document created by the cd collection demo does not use the language translations correctly for the column titles in the table - it uses the hard-coded German words instead.

To fix this, edit the htdocs/xampp/cds.php file moving the line -

include("langsettings.php");

up to the beginning of the script.

Replace -

$data[$i]=array('interpret'=>$row['interpret'],'titel'=>$row['titel'],'jahr'=>$row['jahr']);
with -

$data[$i]=array($TEXT['cds-attrib1']=>$row['interpret'],$TEXT['cds-attrib2']=>$row['titel'],$TEXT['cds-attrib3']=>$row['jahr']);

Cheers
cb
cb
 
Posts: 36
Joined: 11. June 2008 22:48

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 139 guests