Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version for kendo.ui.core #58

Open
krisztianb opened this issue May 13, 2014 · 1 comment
Open

Version for kendo.ui.core #58

krisztianb opened this issue May 13, 2014 · 1 comment

Comments

@krisztianb
Copy link

Hi there. Telerik has published a simpler version of their Kendo Framework called kendo.ui.core: http://demos.telerik.com/kendo-ui/web/overview/index.html

Unfortunately there are still no widget localization messages included. I tried to include the JavaScript files of this kendo-global project and noticed that they don't work with kendo.ui.core.

The reason is simple. kendo.ui.core doesn't seem to include many of the widgets the "all" release does.

The following JavaScript error message is displayed:

TypeError: kendo.ui.ColumnMenu is undefined

One needs to remove the localization of following objects to get it to work:

  • ColumnMenu
  • Groupable
  • FilterMenu
  • ImageBrowser
  • Editor

Would it make sense to create a kendo.ui.core version of this project or extend the JavaScript files so that they check if the corresponding kendo widget exists, before trying to add the localized messages?

@krisztianb
Copy link
Author

It would make sense to restructure the JavaScript files in the manner of the es-ES translation. In that file you only need to add one line (if-statement) to fix the problem. The other translations require you to add a seperate guard for each type of widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant