Page 1 of 1

BUG: translated but unavailable language

PostPosted: 10. January 2012 13:42
by filip
Hi. I didn't find a bug tracker so here it is.

Slovenian and Portugues are missing in X:\xampp\htdocs\xampp\lang\languages.php downloaded from http://www.apachefriends.org/download.php?xampp-win32-1.7.7-usb-lite.7z.
If I add them manually they work:
Code: Select all
$languages['pt']="Português";
$languages['sl']="Slovenian";

At least on my limited testing. Well, actally Portugues in X:\xampp\htdocs\xampp\lang\pt.php needs a small correction in line 164. Word "$PHP_SELF" should be "$_SERVER[PHP_SELF]".
It is now:
Code: Select all
$TEXT['cds-text2']="Lista de CD's como um <a href='$PHP_SELF?action=getpdf'>Arquivo PDF</a>.";

but should be:
Code: Select all
$TEXT['cds-text2']="Lista de CD's como um <a href='$_SERVER[PHP_SELF]?action=getpdf'>Arquivo PDF</a>.";


Portugues is not my language BTW :wink:.