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

June 25th, 2013 | Posted by Marijn in fix | quick tip | SharePoint 2013 | technical

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.

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

4 Responses

Leave a Reply

%d bloggers like this: