Telerik Forums
Kendo UI for jQuery Forum
0 answers
13 views
I am getting prices from a feed that sends them in ISO 4217 format using the lowest currency. So for example, something that costs $24.50 US is sent back as 2450 while something that costs 166 DKK comes back as 166 (The exact conversion is 165.99 DKK so I really don't know how that will come back since they don't use pennies). Of course there are many other currencies out there too. Is there a way for Kendo UI to take the currency code and the value (in pennies in this example) and return the correct price of $24.50 or 166 DKK?
Lee
Top achievements
Rank 2
Bronze
Bronze
Bronze
 updated question on 28 Nov 2023
1 answer
31 views

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

Nikolay
Telerik team
 answered on 29 Sep 2023
1 answer
45 views

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?

 

 

 

Javier
Top achievements
Rank 1
Iron
 updated answer on 07 Jun 2022
1 answer
161 views

How to leave the NumericTextBox format in Brazilian Portuguese? I already left it that way but it doesn't work, returns the error:

Error in /turbo_modules/@telerik/kendo-intl@2.3.0/dist/npm/main.js (633:12)
NoLocale: Missing locale info for 'pt-br'

 


<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>

Petar
Telerik team
 answered on 14 Sep 2021
1 answer
71 views
Hi, I have a different question - is there a way to install just plain english verions of the framework without the thousands of localization files not needed?
Neli
Telerik team
 answered on 22 Apr 2021
2 answers
166 views
Hi, 

I have the problem with getting datepicker to work. it said invalid format, please advise

shared/_Layout.cshtml

<head>
<script src="@Url.Content("~/Scripts/cultures/kendo.culture.en-AU.min.js")" type="text/javascript"></script>


        <script type=”text/javascript”>


        //set the Kendo UI culture


            kendo.culture("en-AU");


        </script>

</head>

Date.cshtml

@model DateTime?
 
@(Html.Kendo().DatePickerFor(m => m)
               .Format("d/MM/yyyy")
               //.Value(Model.HasValue ? Model.Value.ToShortDateString() : string.Empty)
          
               .Value(Model)
               )
Petar
Telerik team
 answered on 10 Apr 2020
3 answers
1.5K+ views

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

 

 

Dimitar
Telerik team
 answered on 03 Apr 2020
6 answers
184 views

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>

 

 

Jose
Top achievements
Rank 1
 answered on 18 Oct 2019
22 answers
598 views

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.

Petar
Telerik team
 answered on 20 Sep 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?