Jump to content

Spanish language


unoymas

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 4 years later...

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".

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated