unoymas Posted September 29, 2006 Share Posted September 29, 2006 Hi, Somewhere in these forums it says that whmcs comes with a spanish lang file, but nope no spanish lang file. So i did what is posted around here and manually edited a lang file, i have translated a few scripts before so no big deal, the problem is now that when i select this lang i get this error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/****/***/****/public_html/hosting/dbconnect.php(45) : eval()'d code on line 16 I checked the lang file but i dont see anything wrong, the page shows empty, no text at all and the error is on top, please can someone help me with this or point me to a place where i can download the spanish lang file? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 29, 2006 WHMCS CEO Share Posted September 29, 2006 Hi, This error means you have either removed a " of the end of one of the lines in the language file or you have used one in your translated text. If you find it easier, just email your language file to info@whmcs.com and I'll check it over for you to see where the error is. Regards, Matt 0 Quote Link to comment Share on other sites More sharing options...
unoymas Posted September 29, 2006 Author Share Posted September 29, 2006 Thanks for the Reply Matt, im doing it all again untill im happy with the language file, i have seen people using a spanish file with HUGE errors in the spelling department and a lot of bad translated words. So ill finish this and ill upload the spanish lang file to my server for download so people dont have to go over and over again finding this, if you want you can check it when im finish and add it to your server, download pages, etc. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 29, 2006 WHMCS CEO Share Posted September 29, 2006 Ok, thanks for that. There isn't a Spanish file included with WHMCS at the moment as I couldn't find anyone to do a translation for the latest version. If you send me the file when finished to info@whmcs.com then I'll be able to provide you a free license for a month in return. Regards, Matt 0 Quote Link to comment Share on other sites More sharing options...
unoymas Posted September 29, 2006 Author Share Posted September 29, 2006 Oh ok thanks a lot, sure ill send you the proper spanish translation when i finish to your email. 0 Quote Link to comment Share on other sites More sharing options...
unoymas Posted September 29, 2006 Author Share Posted September 29, 2006 Sorry for the double post, file sent for revision to your email. 0 Quote Link to comment Share on other sites More sharing options...
unoymas Posted October 5, 2006 Author Share Posted October 5, 2006 I sent the file the sept 29 and as of today never got a response, so i dont know if you got the file for the spanish translation. Please update me about this. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
rwsmr Posted December 30, 2010 Share Posted December 30, 2010 Thanks to all who identified the language files as the culprit. I'm not sure exaclty what the problem is, but in the 4.4.1 release, the Spanish and Swedish files are causing this error. I found the cure to be to add a line to the text file and save it. I am using, TextPad, which is a native UTF-8 (among other things) editor. My guess is that there was a mix of character sets, and TextPad "healed" it. I came across this issue while updating the spanish "translation". 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.