Digital Memo All begin with 0 & 1

21Dec/090

Solution: notepad++ langs.xml not found

I have been using notepad++ for around 2 year and recently notepad++ with the latest version is having problem on my Windows 7 operating system. Whenever I start the program, and error message appears: "Load langs.xml failed". With such problem, all the syntax colour are gone. If you wish to use show the syntax, you have to manually define the syntax on your own, on every documents that you opnened. It is so troublesome when you are a heavy developer!

There is some posts which ask user to change the langs.model.xml to replace the original file, langs.xml. The location of langs.xml is something similar to this:

C:/Program Files/Notepad++/

It works temporary for me, but after sometimes, the problem comes back again. Now I don't even have the back up file for langs.xml, so I have to uninstall and install notepad++ back again.

Solution

I come across with another solution, which at least it works for a few days without any issues. Notice that the langs.xml file would become zero bytes in size after the problem. Now, before the problem happens, right click the langs.xml file and tick "Read Only". With such option, the content of langs.xml will remain intact and therefore, notepad++ would have no problem in reading langs.xml for the correct colour to be used!

pixelstats trackingpixel
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.