Quick fix: SharePoint 2013 can’t load localized customstrings.js

At a client, I tried to add a “Recently modified items” webpart. The server was set up in English (en-us), while the site was set up in Dutch (nl-nl).

I got an error stating that the webpart couldn’t find the customstrings.js file at _catalogs/masterpages/display templates/language files/nl-nl/customstrings.js?ctag=xxx

doesn't work

When I went to the folder (which you can find at “http://yoursitecollection/_catalogs/masterpages/display templates/language files”) I could see that it had a “En-Us” folder but not a “Nl-Nl” folder.

no nl-nl map

The quick fix I used was:

– create a new folder called “Nl-Nl” (or the language you want)

– copy the customstrings.js file from the “En-Us” folder to your new folder   

created nl-nl map

Now, the “recent modified items” shows the actual stuff (and translated in the correct language).




Disclaimer: there is probably a better solution for this, like installing the correct language packs, but this is a quick-fix that works.

About: Marijn

4 thoughts on “Quick fix: SharePoint 2013 can’t load localized customstrings.js”

  1. Been Struggling with it from a very long time. your fix solved my problem.
    People can change/check their server regional settings by adding _layouts/15/regionalsetng.aspx to your central admin link

Leave a Reply

%d bloggers like this: