Telerik Forums
Kendo UI for jQuery Forum
2 answers
394 views
We have a requirement in our product that a numerictextbox, set to currency mode, must be able to be a different culture than the culture of the page.

For example, most of our product will be kendo.culture("en-US").  However, I will have a currency input on the page whose culture needs to be "de-DE".

Is there a simple way of controlling a single control's culture?

Thanks,
Kyle
Kyle
Top achievements
Rank 2
Veteran
 answered on 24 Feb 2014
1 answer
79 views
Hi,

I've created a template that displays a big amount of money (> 1.000.000.000). Unfortunately the formatter doesn't seem to handle big numbers from an input variable.
// transactionAmount = 1000000000 and is stored in the field of a model
 
// In the template definition I see this unexpected result:
#: kendo.toString(get("transactionAmount"), "c") # // result: 1000000000
 
// Smaller or hard-coded amounts work fine:
#: kendo.toString(get("transactionAmount")/1000, "c") # // result: € 1.000.000,00
#: kendo.toString(1000000000, "c") # // result: € 1.000.000.000,00
Am I doing something wrong, or is this a bug? Thanks for your help!

Best regards,

Harry van Mierloo
Harry
Top achievements
Rank 1
 answered on 07 Jan 2014
13 answers
3.7K+ views
Please note that the globalization demo shown at

http://demos.kendoui.com/web/globalization/index.html

does NOT demonstrate a completely localized solution because all the text labels remain in English. A realistic solution would require all text to display in the selected local language whether English, French, Spanish, German, etc, and not just the "culture" relevant to dollars versus Euros, etc.

So what are the plans for a framework that implements a completely localized language solution that allows us to access resource files for selected translations of all the text strings in our applications?

Or should we implement our own solutions?

See for example the i18n solution implemented by Matthew ORiordan for Appcelerator Titanium at Github:

https://github.com/mattheworiordan/json.i18n-for-Titanium-Mobile

where he implemented language resource files in JSON as an approach more efficient than XML.
harada
Top achievements
Rank 1
 answered on 19 Dec 2013
2 answers
36 views
Hi

I'm missing the european timezones (p.e. "Europe/Zurich") in the mentioned ressource above.
Any idea?

Thanks
Jean-Claude
Jean-Claude
Top achievements
Rank 1
 answered on 05 Dec 2013
0 answers
127 views
Hi, when I switch locales in my app, I am still seeing the english text in the page control (i.e. 1 to 10 of 800 items).  How can I have that text be the {current locale} text?  Here is a JSFiddle demonstrating the problem.

Also, the text associated with the paging buttons (first, prev, next, last) is still in English as well.  Is there a way within the framework to update these as well?

I found this JSFiddle, where they are using a template hooked into dataBound to specify the details of the current page, but I would expect this to be part of the framework where I set the locale and it is localized for me.

I just found the Messages section in the docs.  Do I need to include my own translations for each of these?

Aha!  Here is the page I was looking for.

Thanks,
--Ed
Ed
Top achievements
Rank 1
 asked on 03 Dec 2013
8 answers
265 views
Setting the kendo.culture to en-US (also de-DE), when I write (numerictextbox) example 1.34 the widget turns it into 134 (on IPAD)

http://demos.kendoui.com/web/globalization/index.html
Achilles
Top achievements
Rank 1
 answered on 20 Sep 2013
4 answers
497 views
I have no problem using Kendoui with requirejs except when I try to localize the dates using kendo.culture().  For another project without requirejs I have no issues.

My settings are

require.config({
  paths: {
      jquery: 'lib/jquery-1.7.2.min',
      kendo: 'lib/kendo.web.min',
      kendoCulture: 'lib/cultures/kendo.culture.es-MX.min',
      knockout: 'lib/knockout-2.1.0',
      knockout_kendo: 'lib/knockout-kendo.min',
      underscore: 'lib/underscore-min',
      json2: 'lib/json2',
  }
});
 
require([
    'jquery',
    'kendo',
    'kendoCulture',
    'knockout',
    'knockout_kendo',
    'underscore',
    'json2'
    ], function (
        $,
        kendo,
        kendoCulture,
        ko,
        knockout_kendo,
        _,
        json2) {
 
        // Start of Main Function
        $(function () {
 
 
            kendo.culture("es-MX");
 
              $("#tabstrip").kendoTabStrip({
                        animation:{
                            open:{
                                effects:"fadeIn"
                            }
                        }
 
                    });
 
            // knockout Bindings
   
        });
});

The error message that I get is that kendo is undefined when the kendo.culture("es-MX") command is called.

Thanks,

Alberto



Mihai
Telerik team
 answered on 17 Sep 2013
8 answers
371 views
Is RTL supported for complex languages such as Arabic and Hebrew?
ShareDocs
Top achievements
Rank 1
 answered on 26 Aug 2013
1 answer
63 views
Hello,

I am using Kendo MVC. Is there a way I can have Visual Studio _not_ deploy all of the localization DLL's?

Thanks,
~S
Petur Subev
Telerik team
 answered on 19 Aug 2013
4 answers
137 views
Hi,

In my root module (defined below), I call kendo.culture and it sets the culture right.
(function () {
    define(['jquery', 'amplify', 'modules/tools', 'k/kendo.router.min', 'k/kendo.view.min',
            'k/cultures/kendo.culture.fr-CA.min', 'k/cultures/kendo.culture.en-CA.min'], function ($, amplify, tools) {
1. I noticed that the culture that I set in my root module (app.js) does not propagate to other modules. Any idea why?

2. When I call kendo.culture in another module (to work around problem 1), the culture does not change (I check it by calling kendo.culture() from the console, it is always en-US. Any idea? Here is an example of how my other modules are defined (it's pretty much the same than above):

(function () {
    define(['jquery', 'amplify', 'modules/tools', 'modules/date', 'k/kendo.dataviz',
        'k/cultures/kendo.culture.fr-CA.min', 'k/cultures/kendo.culture.en-CA.min'], function ($, amplify, tools) {

Thanks,

Alex
Mihai
Telerik team
 answered on 02 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?