This refers to a correction of the Documentation of DateRangePicker. On the documentation page of the DateRangePicker, section Set Locale the parameter to set is said to be 'locale'. The correct parameter is 'language'. Please update the documentation page for others to avoid digging in the code to understand why localization does not work :-)
regards Gunnar