I recently installed the missing DateTime field in EPiServer forms, by running this command: "Install-PackageEPiServer.Forms.Samples".
For me it works fine, but for most of my colleagues who have en-GB set as native language on their computer, the form fails. This is due to the language settings in EPiServerFormsSample.js. en-US is included, but en-GB is not.
How do I fix this? I could probably change the js file to include the missing language, but it will probably be overwritten some time, if I install a package update.
Hi!
I recently installed the missing DateTime field in EPiServer forms, by running this command: "Install-Package EPiServer.Forms.Samples".
For me it works fine, but for most of my colleagues who have en-GB set as native language on their computer, the form fails. This is due to the language settings in EPiServerFormsSample.js. en-US is included, but en-GB is not.
How do I fix this? I could probably change the js file to include the missing language, but it will probably be overwritten some time, if I install a package update.
This is line 56 in the js file:
If your computer has an unsupported language, the part after the colon is run, but the $.datetimepicker is undefined.