Current time: 11-25-2024, 07:33 PM Hello There, Guest! (LoginRegister)


Post Reply 
Wrong language file
Author Message
Boyquotes Offline
Newbie
*

Posts: 5
Joined: May 2011
Reputation: 0
Post: #1
Wrong language file
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.
05-23-2011 06:03 PM
Find all posts by this user Quote this message in a reply
sumfvm Offline
Junior Member
*

Posts: 30
Joined: May 2011
Reputation: 0
Post: #2
RE: Wrong language file
I used the french translation and I don't met any problem...
05-24-2011 01:41 AM
Find all posts by this user Quote this message in a reply
Boyquotes Offline
Newbie
*

Posts: 5
Joined: May 2011
Reputation: 0
Post: #3
RE: Wrong language file
(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.
05-24-2011 09:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)