multilanguage - Change Lightswitch HTML Client language -
is possible change display language , control format german? datetime control shows day seletion first instead of month selection or yes/no toogle german words.
i changed "default language" property in project property page without result.
edit: according here seems problem new vs 2012 update 3: http://social.msdn.microsoft.com/forums/vstudio/en-us/2ce818aa-08d0-46bd-883d-b42202059f3b/language-bug-in-vs2012-update-3-to-ls-team
temporary solution beth massi: after remove update 3 (add/remove programs -- view installed updates) can reinstall update 2 iso here: http://go.microsoft.com/fwlink/?linkid=298533
you can localize lightswitch application using link http://msdn.microsoft.com/en-us/library/vstudio/xx130603(v=vs.120).aspx
it doesn't mention datetime control, had problem before too, couldn't change datetime control change how date visualized in labels this:
myapp.viewtable.startdate_postrender = function (element, contentitem) { contentitem.databind("value", function (value) { if (value) { $(element).text(moment(value).format("dd/mm/yyyy")); } }); };
this screen called viewtable , shows column called startdate click on "edit postrender code" , put code. formats date day/month/year. code using momento.js library handling of dates. there article how add, need switch file view , add momento.js library project.
yes/no can configure in table (data sources), remember "server" must selected when editing entity. column want customize, instance "retired" type boolean, on properties window click on choice list , fill choices this: true ja, false nicht. that's screens show column "in german"
hope helps.
Comments
Post a Comment