Posted over 7 years ago. Visible to the public.

German localization for Mobiscroll

If you are using Mobiscroll for date pickers on touch devices, here is how to localize the Mobiscroll UI into German:

Copy
var germanMobiscrollLocalization = { preset: 'datetime', ampm: false, cancelText: 'Abbrechen', dateFormat: 'dd.mm.yy', dateOrder: 'ddmmyy', dayNames: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], dayNamesShort: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], dayText: 'Tag', hourText: 'Stunde', minuteText: 'Minuten', monthNames: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'], monthNamesShort: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], monthText: 'Monat', secText: 'Sekunden', setText: 'OK', timeFormat: 'HH:ii', yearText: 'Jahr', rows: 5 }; $('.date_picker').scroller(germanMobiscrollLocalization);
Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Owner of this card:

Avatar
Henning Koch
Last edit:
about 7 years ago
Keywords:
iphone, ipad, android, touch, time, datetime
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more