Saturday, January 25, 2014

Load langs.xml failed

I have faced a problem whenever I start notepadd++, it pops up with an alert saying "Load langs.xml failed!". Although by closing it won't create a functional problem for anyone. People can continue with their work by clicking ok on the alert which pops up but on a long run it would be frustating. I have taken out time to understand the problem and solve it. By the error it says "langs.xml" is a file when reading created a problem, Its clearly communicative enough. So the langs.xml from where notepad++ is loading should be corrected. In windows7 it loads from the path "C:\Users\<<UserName>>\AppData\Roaming\Notepad++".

Resolution :

Replace the file from the notepad++ installable folder to the above mentioned path. Or check manually the contents of the langs.xml in Roaming\Notepad++ folder and correct it.

1 comment:

  1. In the installation folder , you might not have langs.xml file. Instead , find langs.model.xml, make a copy of it, and rename the copy to langs.xml. DO NOT simply rename the file or you will not have it available the next time you need it..:)