ispCP - Board - Support
Wrong language file - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Wrong language file (/thread-14042.html)



Wrong language file - Boyquotes - 05-23-2011 06:03 PM

Hello,

I try to have a french ispcp panel, but the fr_FR.po file don't work, and any other language ( http://isp-control.net/ispcp/wiki/translations )

Display error in red:
Uploaded file is not a valid language file
or
Uploaded file does not contain the language information

I don't understand why the internalisation don't work, in another installation the same file work fine...

Have a nice day.
Nicolas.


RE: Wrong language file - sumfvm - 05-24-2011 01:41 AM

I used the french translation and I don't met any problem...


RE: Wrong language file - Boyquotes - 05-24-2011 09:42 PM

(05-24-2011 01:41 AM)sumfvm Wrote:  I used the french translation and I don't met any problem...

The problem is the mime.magic is not active with the php version ( .deb ) on the lenny server and the file.po" is not recognize by the script multilanguage.php like "gettext-translation" but "application/octet-stream" and call _importTextFile($file) (don't works) instead _importGettextFile($file, $filename) (works).

Bye.
Nicolas.