Hi,
I have the following issue:The Calendar extension of Silk UI for mobile does not register the current locale. When using the app on a Dutch device it still displays months in default English.
I have tried to change config of the extension using following javascript code in the On render action of the screen which loads the calendar.
$( document ).ready( function() { var newi18n = { previousMonth : 'Vorige Maand', nextMonth : 'Volgende Maand', months : ['Januari','Februari','Maart','April','Mei','Juni','Juli','Augustus','September','Oktober','November','December'], weekdays : ['Zondag','Maandag','Dinsdag','Woensdag','Donderdag','Vrijdag','Zaterdag'], weekdaysShort : ['Zo','Ma','Di','Wo','Do','Vr','Zat'] } var field = document.getElementById('DatePicker'); picker = new Pikaday({ field: field, i18n: newi18n });});
The input advancedFormat need to be filled with
{
i18n : { previousMonth : 'Vorige Maand', nextMonth : 'Volgende Maand', months : ['Januari','Februari','Maart','April','Mei','Juni','Juli','Augustus','September','Oktober','November','December'], weekdays : ['Zondag','Maandag','Dinsdag','Woensdag','Donderdag','Vrijdag','Zaterdag'], weekdaysShort : ['Zo','Ma','Di','Wo','Do','Vr','Zat'] }
}
Thanks for the reply, but in my version of SilkUI Mobile Patterns (The latest version) there is no param AdvancedFormat.
this is my version:
Silk UI Mobile, a beautiful UI Framework for native-like experience on mobile devicesVersion 1.6.1silkui.outsystems.com
Hi Johnny,
Note that there is no concept of "locale" in OutSystems Mobile. So there's also no "registering" the locale.