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!

  13. Michael
    March 25th, 2010 | 10:39 pm

    thank you very much! mystery solved

  14. Peter
    May 14th, 2010 | 2:18 am

    Same problem and fix for me worked as suggested

    close Notepad++
    delete langs.xml
    restart Notepad++

    Notepad++ will refer to langs.model.xml and recreate a new langs.xml for itself.

    If you have Arman’s problem as above, and you don’t want to do a reinstall, you could download the zip version of Notepad++, extract langs.model.xml to the install folder, then follow the fix.

  15. Arman
    May 14th, 2010 | 5:27 pm

    I followed the suggested fix and get no massage anymore as I open the program, but the commands aren’t highlighted (C language)

    I found an alternative: use the portable version of Notepad++ installed on a USB and wait for an update!

    Thanks Peter

  16. Astroni
    June 22nd, 2010 | 4:14 pm

    LoL, it really works!

Leave a reply