Wijmo UI for the Web
localization Option
wijmo.datepager.wijdatepager Namespace > options type : localization Option

Default value: null

Use the localization option in order to provide custom localization.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  object
    returnsValue = $(".selector").wijdatepager("option", "localization");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijdatepager("option", "localization", newValue);
        
});
var localization : object;
Example
$("#datepager").wijdatepager(
                { 
                    localization: {
                        weekViewTooltip2MonthesFormat: "{0:MMMM d} - {1:MMMM d}",
                        dayViewTooltipFormat: "{0:dddd, MMMM d}"
                    }
                });
Remarks
Default: { dayViewTooltipFormat: "{0:dddd, MMMM d, yyyy}", weekViewTooltipFormat: "{0:MMMM d} - {1:d, yyyy}", weekViewTooltip2MonthesFormat: "{0:MMMM d} - {1:MMMM d, yyyy}", monthViewTooltipFormat: "{0:MMMM yyyy}", customViewDayUnitTooltip2MonthesFormat: "{0:MMMM d} - {1:MMMM d, yyyy}", customViewSingleDayTooltipFormat: "{0:MMMM d yyyy}", customViewDayTooltipFormat: "{0:MMMM d} - {1:d, yyyy}", customViewMonthTooltip2YearsFormat: "{0:MMMM yyyy} - {1:MMMM yyyy}", customViewSingleMonthTooltipFormat: "{0:MMMM yyyy}", customViewMonthTooltipFormat: "{0:MMMM} - {1:MMMM, yyyy}", customViewSingleYearTooltipFormat: "{0:yyyy}", customViewYearTooltipFormat: "{0:yyyy} - {1:yyyy}", customViewUnitDayLabelFormat: "{0:MMM dd}-{1:dd}", customViewUnitSingleDayLabelFormat: "{0:MMM dd}", customViewUnitDayLabelFormat2Months: "{0:MMM dd}-{1:MMM dd}", customViewUnitMonthLabelFormat: "{0:MMM}-{1:MMM, yyyy}", customViewUnitSingleMonthLabelFormat: "{0:MMM}", customViewUnitMonthLabelFormat2Years: "{0:MMM yyyy}-{1:MMM yyyy}", customViewUnitSingleYearLabelFormat: "{0:yyyy}", customViewUnitYearLabelFormat: "{0:yyyy}-{1:yyyy}", dayViewLabelFormat": "{0:d }", dayViewMonthLabelFormat: "{0:MM}", weekViewLabelFormat: "{0:MMM dd}-{1:dd}", monthViewLabelFormat: "{0:MMM}", monthViewYearLabelFormat: "{0:yyyy}" }
See Also

Reference

options type
wijdatepager jQuery Widget