Hi,
I think the filter widget has been omited from the messages file.
I changed the demo code to show that the grid widget getting the messages in the right language (fr-CA) while the filter widget remains in en-US.
Here's the dojo example of the problem. I alos included a picture.
I took a look at the messages files and only few cultures seems to have implemented the the filter widget messages (ru-RU, zh-CN, zh-HK, zh-TW).
I know I can set my own message thru the filter's configuration messages but ain't that something that should be handled kendo's culture?
Or maybe I'm doing something wrong?
Regards,
Simon
I'm using the following code to implement kendo pdf viewer on my project:
pdfViewer = $("#pdfViewer").kendoPDFViewer({ pdfjsProcessing: { file: { url: url, httpHeaders: { authorization: token } } ... }).getKendoPDFViewer();
Is there a way to include the Accept-Language header on the http request?
How to leave the NumericTextBox format in Brazilian Portuguese? I already left it that way but it doesn't work, returns the error:
<template>
<div class="example-wrapper row">
<div class="col-xs-12 col-sm-6 example-col">
<localization :language="'pt-br'">
<intl :locale="'pt-br'">
<p>NumericTextBox</p>
<numerictextbox :default-value="123.45" :format="'c'">
</numerictextbox>
<p>Slider</p>
<slider
:buttons="true"
:step="1"
:default-value="7"
:min="1"
:max="10"
>
</slider>
</intl>
</localization>
</div>
</div>
</template>
<script>
import {
IntlProvider,
load,
loadMessages,
LocalizationProvider
} from "@progress/kendo-vue-intl";
import { NumericTextBox, Slider } from "@progress/kendo-vue-inputs";
import likelySubtags from "cldr-core/supplemental/likelySubtags.json";
import currencyData from "cldr-core/supplemental/currencyData.json";
import esNumbers from "cldr-numbers-full/main/es/numbers.json";
import esCurrencies from "cldr-numbers-full/main/es/currencies.json";
load(likelySubtags, currencyData, esNumbers, esCurrencies);
import esMessages from "./es.json";
loadMessages(esMessages, "es");
export default {
components: {
numerictextbox: NumericTextBox,
slider: Slider,
intl: IntlProvider,
localization: LocalizationProvider
}
};
</script>
Hello there,
We have a customer who wants to override decimal sepataor in a specific culture. We have tried to override it before any widget is initialized. Also created our custom culture file and used it but the result is the same. kendo.culture().numberFormat["."] show the sybol we want, but in the UI is still the default symbol. Here is a dojo showing that only curency symbol is being overwritten.
https://dojo.telerik.com/USUkomuY/5
An example cloned from official docs https://dojo.telerik.com/@merogos/EzEtoSuF
<!DOCTYPE html>
<
br
>
<
html
><
br
><
head
><
br
> <
meta
charset
=
"utf-8"
/><
br
> <
title
>Kendo UI Snippet</
title
><
br
><
br
> <
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.common.min.css"
/><
br
> <
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.rtl.min.css"
/><
br
> <
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.silver.min.css"
/><
br
> <
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.mobile.all.min.css"
/><
br
><
br
> <
script
src
=
"https://code.jquery.com/jquery-1.12.4.min.js"
></
script
><
br
> <
script
src
=
"https://kendo.cdn.telerik.com/2019.3.917/js/kendo.all.min.js"
></
script
><
br
></
head
><
br
><
body
><
br
> <
br
><
script
><
br
> var dataSource = new kendo.data.DataSource({<
br
> data: [<
br
> { apellido: "Lopez" },<
br
> { apellido: "Lope" },<
br
> { apellido: "Lopito" }<
br
>,<br> { apellido: "Lopito" }<br>,<br> { apellido: "Lòpez" }<br> ],<
br
> filter: { field: "apellido", operator: "contains", value: "L\u00f3p" },<
br
> accentFoldingFiltering: "es-ES"<
br
> });<
br
> dataSource.fetch(function(){<
br
> var view = dataSource.view();<
br
> console.log(view.length); // displays "0", should display 3<
br
> console.log(view[0].apellido); // Nothing<
br
> });<
br
></
script
><
br
></
body
><
br
></
html
>
Hello, I have a problem with grid pager translation: pagination buttons tooltips and "items per page" label appear always in english.
I've checked the messages translation scripts are linked and working as you can see in the attached screenshot, and other regions such as grid filters are ok.
What am I doing wrong?
Thanks for helping.