Datepiker change language/localization
已回答Hi everyone,
I had a requirement to change the language/localization of the date fields. AgilePoint date fields are in English and the week starts on Sunday. But we need it in German and Monday as first day of the week:

Out-of-the-Box there is no solution for this requirement but I found an easy workaround which I want to share if someone has the same problem:
AgilePoint uses the jQuery Ui date piker and it supports different localization. More on https://jqueryui.com/datepicker/
1. Download the needed localization file on https://github.com/jquery/jquery-ui/tree/master/ui/i18n
In my case datepicker-de.js
2. Import the localization file into the eForm (shared javascript). https://documentation.agilepoint.com/00/appbuilder/cloudformInstructionsEditSharedJavaScript.html
3. Activate the shared Javascript and every date filed on the eForm should now be translated.

The benefit of this solution is that you can even write your own translation and change some configurations.
Link to test application: https://ufile.io/svhwcoyj
Hope it helps someone!
Regards,
Tobias
请先登录再写评论。
评论
0 条评论