This project has moved and is read-only. For the latest updates, please go here.


Nov 19, 2015 at 1:54 PM
Edited Nov 19, 2015 at 1:54 PM
Hi Sacha,

I have a problem to get the error messages in german when using Openform. I tried to set
"locale": "de_AT" in the "View Layout"
as mentioned in Alpaca Documentation but that does not change anything. Any idea who to achieve this ?
Nov 19, 2015 at 3:42 PM
Edited Nov 19, 2015 at 10:02 PM

This feature is not implemented in the used version of alpaca in openform/opencontent

the workaround is to add this to the javascript in Edit Template files of openform
 $(document).on("postRender.openform", function (event, control, moduleid, sf ) {
Normally this will be done automatically depending on the current dnn locale.
But this is buggy, for your case of de_At.
I will correct that in next release
Nov 23, 2015 at 3:24 PM
Thanks for the tip Sacha!

5 minutes before your answer I hacked alpaca.js and changed "de_AT" to "de_DE" but your solution is really better!
Nov 23, 2015 at 4:49 PM
In OpenForm 2.0 is DefaultLocale of Alpaca form automatically set depending of dnn culture.

1) based on 5 letters culture code.
2) if not found based on first 2 letters of culture code