Changing language (locale)

Where is it possible to find the script file locale_es.js for downloading and how to change the locale?

Hi,
please check /Scripts/dhtmlxScheduler/locale folder of the package. You can also find it in the VS project, if you’ve installed the component from NuGet

I found the file. What is the right order to set the language using javascript (client side)?