BUG: translated but unavailable language

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

BUG: translated but unavailable language

Postby filip » 10. January 2012 13:42

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:.
filip
 
Posts: 1
Joined: 10. January 2012 13:25
Operating System: Windows 7, sometimes XP

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 184 guests