How To Localize Display Template In SharePoint 2013

Display Templates are localized with the help of resource files. A resource file is referenced inside a Display Template in the following way.   <script>  $includeLanguageScript(this.url,”~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/Strings.js”); </script>   A resource file is a JavaScript file which registers a resource dictionary. The resource dictionary contains the resource strings.  For example, a resource file for “en-us” Locale with some…