This is not urgent enough to be a ticket.
I am setting the culture for each user at login. At least the datePickers get the culture as I can see the dates formatted with it.
But, the grids do not have the messages. The globalization overview says all widgets that support date or numeric formatting also depend on current culture. These widgets are the more complex ones like Grid, ListView, Charts and etc.
Am I missing something?
Thanks,
Rick
<!DOCTYPE html>
<
html
style
=
"height:100%;width:100%;"
>
<
head
>
<
meta
http-equiv
=
"Content-Type"
content
=
"text/html; charset=UTF-8"
>
<
title
>Menlo Park Project</
title
>
<
link
rel
=
"stylesheet"
href
=
"../styles/kendo.common.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"../styles/kendo.default.min.css"
>
<
style
type
=
"text/css"
>
.k-grid tr { max-height:1.5em !important; overflow:hidden !important; }
.k-grid td { max-height:1.5em !important; overflow:hidden !important; }
.k-grid-header th.k-header { padding-bottom:0.2em !important; padding-top:0.2em !important; }
.k-tabstrip .k-content { padding-left:0.3em !important; padding-right:0.3em !important; }
.k-button { line-height:1.25em !important; }
.my-data-columns li { display: block; float: left; text-align: right; height: 22px; line-height:1.25em; }
.options-2-columns li { display: block; float: left; width: 50%; height: 22px; line-height:1.25em; }
.options-3-columns li { display: block; float: left; width: 33%; height: 22px; line-height:1.25em; }
.options-4-columns li { display: block; float: left; width: 25%; height: 22px; line-height:1.25em; }
.k-window, .k-window-content.k-content{ background-color: rgba(255,255,255,0.01); }
</
style
>
<
script
src
=
"../js/jquery-1.9.1.js"
></
script
>
<
script
src
=
"../js/kendo/kendo.all.min.js"
></
script
>
<
script
src
=
"../js/cultures/kendo.culture.en-US.min.js"
></
script
>
<
script
src
=
"../js/cultures/kendo.culture.fr-FR.min.js"
></
script
>
<
script
src
=
"../js/cultures/kendo.culture.de-DE.min.js"
></
script
>
<
script
src
=
"../js/cultures/kendo.culture.it-IT.min.js"
></
script
>
<
script
src
=
"../js/cultures/kendo.culture.es-ES.min.js"
></
script
>
</
head
>
var
loginButton = loginWindow.element.find(
"#LoginButton"
).kendoButton({
click:
function
(e) {
viewModel.dataSource.filter( { field:
"TeamMemberEmail"
, operator:
"eq"
, value: email });
viewModel.dataSource.fetch(
function
(e) {
var
view = viewModel.dataSource.view();
if
(view.length == 1) {
window.LoggedIn.TeamMember = view[0];
kendo.culture(window.LoggedIn.TeamMember.LocaleKey);
createApplicationWindow();
loginWindow.destroy();
}
else
{
alert(
" Email/Password combination not found. Is your CAPS LOCK key on?"
)
}
});
}
}).data(
"kendoButton"
);