vote up 19 vote down star
5

Whenever I open NotePad++ the following error message appears:

---------------------------
Configurator
---------------------------
Load langs.xml failed!
---------------------------

That obviously means that there is also no syntax highlighting.

My OS is Windows 7 64-bit.

Strangely, I had the same problem. And the interesting thing was the highlighting worked when I selected the language manually. Anyways, the accepted answer seems to fix the problem completely. – trex279 Dec 21 at 17:24
1  
ATTENTION ALL: THIS QUESTION IS BEING LOCKED DUE TO EXTENDED SPAM ISSUES. IF YOU HAVE A LEGIT CONTRIBUTION TO ADD TO THIS QUESTION, PLEASE FLAG FOR MODERATOR. – Troggy Jan 27 at 2:57

locked by Jeff Atwood yesterday

1 Answer

vote up 34 vote down check

Somehow, your langs.xml has errors in it. Perhaps while exploring various Notepad++ options you accidentally made unintended changes to it. That's what happened to me.

Go to the installation folder for Notepad++ and rename langs.xml to langs.xml.bad. Then, in that same folder, find langs.model.xml, make a copy of it, and rename the copy to langs.xml.

This fixed this same problem for me, hopefully it will work for you as well. You will want to then compare the langs.xml to langs.xml.bad and see if there is anything legitimate that you want back.

link|flag
This worked for me - WOOT! – Ash Dec 4 at 4:13
2  
Worked here, too. As an aside, I'd mention the fact that my langs.xml file had no "errors" as such.. it was blank! Size, zero. Sadly, I wasn't able to reproduce the behaviour which caused it to be wiped clean. – TataBlack Dec 14 at 15:28
1  
Me too. Zero, too. – PA Dec 14 at 15:43
My langs.xml looked like it had been truncated after like the 30th line for some reason. Rob3C's fix worked great! – Hardwareguy Jan 23 at 17:15
Mine was zero too. Are all you zero-byte file guys on Windows 7 x64, perchance? I wonder if there's a Notepad++ bug around this. I swear I haven't mucked around with the settings.. – Blorgbeard Jan 26 at 20:07
show 1 more comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.