BUG: translated but unavailable language
Posted: 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:
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:
but should be:
Portugues is not my language BTW .
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 .