add localization to slider