Wijmo UI for the Web
Custom DatePager Strings
Wijmo User Guide > Concepts > Localization and Globalization > Custom DatePager Strings

The strings in the DatePager widget that are localizable are handled using the localization option. You can localize or customize these strings using code like the following.

Custom String Script
Copy Code
<script type="text/javascript">
    $(document).ready(function () {
        $("#datepager").wijdatepager({
            culture: "de-DE",
            localization: {
                dayViewTooltipFormat: "{0:dddd, MMMM d, yyyy}",
                weekViewTooltipFormat: "{0:MMMM d} - {1:d, yyyy}",
                weekViewTooltip2MothesFormat: "{0:MMMM d} - {1:MMMM d, yyyy}",
                monthViewTooltipFormat: "{0:MMMM yyyy}",
                dayViewLabelFormat: "{0:d }",
                weekViewLabelFormat: "{0:MMM dd}-{1:dd}",
                monthViewLabelFormat: "{0:MMM}"
            }
        });
    });
</script>
See Also

Widgets