Fixing Notepad++ 5.5 Langs.xml

LangsXml Failed to LoadI upgraded to the latest version of Notepad++ (5.5) and noticed that I sometimes get some problems with a dialogue box that pops up, looking like the picture the right stating (Load Langs.xml failed!)

Having a quick look at the installation directory, it looks like a langs.xml file exists yet it has a 0KB size. I’m not sure what causes it yet (perhaps it’s if you kill the process mid-way using Task Manager) but all I did was take a copy of langs.model.xml and rename the copy as langs.xml. Fixes it all up!

Comments

  1. Rob
    November 6th, 2009 | 10:41 pm

    I had the same error, renaming the file fixed the problem indeed.
    But, I had no problems at all, until I started using the FTP plugin.
    Maybe the plugin is causing this…

  2. November 10th, 2009 | 2:27 pm

    Thanks a lot…

    Very Useful.

  3. Zane
    November 11th, 2009 | 6:13 pm

    Thanks! I also installed the FTP Plugin, im pretty sure this is the reason for it. :)

  4. zx
    November 11th, 2009 | 10:41 pm

    Thanks! This was really annoying!

  5. zx
    November 11th, 2009 | 10:42 pm

    P.S. I did not install any plugis – I got the error from the very beginning…

  6. Horus
    November 27th, 2009 | 10:36 pm

    Very good

  7. Brad
    December 1st, 2009 | 4:22 pm

    This fixed my problem (running Win 7 x64). thank you!

  8. Alec
    December 9th, 2009 | 8:04 pm

    BTW, this problem exists in WinXP as well. The file on this system is 75,792 bytes large and has nothing but nul characters. The fix worked, Thanks! You could also erase/delete langs.xml and it will be regenerated.

  9. Bo
    January 5th, 2010 | 7:45 am

    Thanks!
    Fixed my (annoying) problem as well, I didn’t install any FTP thingie though.

  10. January 7th, 2010 | 1:48 pm
  11. Tom
    February 5th, 2010 | 1:26 am

    Finally! Thanks!

    How annoying that was.

  12. Arman
    February 5th, 2010 | 1:28 pm

    I’ve got the same issue on Windows 7, but there is NO “langs.model.xml” at that folder! I just deleted the langs.xml, but it didn’t work!

Leave a reply