Hi,
I couldn't find any thing about DateTimePicker and locale settings. When using the extension I get the DateTimePicker in some other language then the PHPMaker project!
How can I change language/locale settings in DateTimePicker?
Hi,
I couldn't find any thing about DateTimePicker and locale settings. When using the extension I get the DateTimePicker in some other language then the PHPMaker project!
How can I change language/locale settings in DateTimePicker?
Hi,
Thanks for help and sorry for not giving all information: PHPMaker 2018.0.3, multi-language project
Arbei: Yes it ({"locale":"sv"}) works and it helps me in other projects. But user can change language to English and calendar will of course then be in Swedish. Can this be changed dynamically in some way?
Thanks!
You put me on the right direction of the problem. It was the language file that had wrong locale ID (<phrase id="locale" value="sv_SE"/>) it should only be 'sv' to work with moment.
This problem will probably occur again when I move the site from development to production server which is a Linux server. Do you (or anyone else) have a good solution how to handle different locale ids (eg. Windows <-> Linux)?