Language handling is a mess!
Wow! I cannot believe this problem is still happenning. I started today my work to enhance and translate completely the x3 spanish template. When you edit online, WHM makes a good work saving the file. The only thing I must criticize is that even knowing that the file must use 8859 enconding set, WHM don't encode the special chars (with PHP we'd talk about "htmlentities" command). After discovering that, I downloaded the template file, encoded locally the special chars that we have in spanish lang, and tried to upload

Then, I had the same problem I found reported in this thread:
Code:
Installed D:\spanish at /usr/local/cpanel/base/frontend/x3/lang/[B]D:\spanish[/B]
WHM is not treating well the path of the file.
Of course I repaired the problem after some headaches using:
Code:
cp D:\\spanish spa
rm -f "D:\\spanish"
rm -f spanish
mv spa spanish
(I finally decided to write a script to run this every time I upload a new spanish file)
BTW, after uploading the file, if I open again the WHM language editor I can see that some of my corrections are decoded and others are not



Something strange is happening with the language handling tool, boys. I'd love to heard some solution from yours. I must recognize I am surprised to see the same problem unanswered almost one year ago. Is this something hard to repair?
Also, what is the /usr/local/cpanel/base/frontend/x3/lang/spanish.local file for? I noted that this was updated when I save the work on WHM editor. There is also one file at /usr/local/cpanel/lang/spanish2 that claims to be the spanish template for Root Language File

, but its lastmod date is a bit oldie...
Code:
-rw-r--r-- 1 root root 58K Jul 28 2007 /usr/local/cpanel/lang/spanish2
Is it deprecated? I think so :D
And there are more lost spanish lang files I'm afraid to investigate....
For those who want to check this on your own, I submit the file, which adds a great extension to spanish version of x3 template.
De paso disfrútenlo aquellos que sean hispanoparlantes del foro, estoy tratando de completar la traducción, así que asi quieren probarlo, adelante, y me cuentan que les parece

Incorpora unas 400 correcciones de estilo y sintaxis, así como también las secciones incompletas en la pantalla de Email Authentication del cPanel.