{"action":"created","issue":{"url":"https://api.github.com/repos/sebfz1/wicket-jquery-ui/issues/155","labels_url":"https://api.github.com/repos/sebfz1/wicket-jquery-ui/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/sebfz1/wicket-jquery-ui/issues/155/comments","events_url":"https://api.github.com/repos/sebfz1/wicket-jquery-ui/issues/155/events","html_url":"https://github.com/sebfz1/wicket-jquery-ui/issues/155","id":57434536,"number":155,"title":"New kendo artifact","user":{"login":"solomax","id":3870591,"avatar_url":"https://avatars.githubusercontent.com/u/3870591?v=3","gravatar_id":"","url":"https://api.github.com/users/solomax","html_url":"https://github.com/solomax","followers_url":"https://api.github.com/users/solomax/followers","following_url":"https://api.github.com/users/solomax/following{/other_user}","gists_url":"https://api.github.com/users/solomax/gists{/gist_id}","starred_url":"https://api.github.com/users/solomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomax/subscriptions","organizations_url":"https://api.github.com/users/solomax/orgs","repos_url":"https://api.github.com/users/solomax/repos","events_url":"https://api.github.com/users/solomax/events{/privacy}","received_events_url":"https://api.github.com/users/solomax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sebfz1/wicket-jquery-ui/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-02-12T09:12:43Z","updated_at":"2015-07-14T17:27:51Z","closed_at":"2015-02-12T16:18:26Z","body":"I believe it might be useful to have artifact like wicket-jqueryui-kendo-culture to have all up-to-date \"language\" files in one place.\r\n\r\nThis artifact should have one \"anchor class\" (for ex. KengoGlobalizationAnchor.java) with no methods and JS files with kendo locales.\r\n\r\nIn this case one can use code like:\r\n\tpublic static void renderTelericLocale(IHeaderResponse response, Locale l) {\r\n\t\tresponse.render(JavaScriptHeaderItem.forReference(new JavaScriptResourceReference(KengoGlobalizationAnchor.class\r\n\t\t\t\t, String.format(\"kendo.culture.%s.min.js\", l.toLanguageTag()))));\r\n\t}\r\n\r\nto localize kendo widgets"},"comment":{"url":"https://api.github.com/repos/sebfz1/wicket-jquery-ui/issues/comments/121315823","html_url":"https://github.com/sebfz1/wicket-jquery-ui/issues/155#issuecomment-121315823","issue_url":"https://api.github.com/repos/sebfz1/wicket-jquery-ui/issues/155","id":121315823,"user":{"login":"sebfz1","id":1717144,"avatar_url":"https://avatars.githubusercontent.com/u/1717144?v=3","gravatar_id":"","url":"https://api.github.com/users/sebfz1","html_url":"https://github.com/sebfz1","followers_url":"https://api.github.com/users/sebfz1/followers","following_url":"https://api.github.com/users/sebfz1/following{/other_user}","gists_url":"https://api.github.com/users/sebfz1/gists{/gist_id}","starred_url":"https://api.github.com/users/sebfz1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebfz1/subscriptions","organizations_url":"https://api.github.com/users/sebfz1/orgs","repos_url":"https://api.github.com/users/sebfz1/repos","events_url":"https://api.github.com/users/sebfz1/events{/privacy}","received_events_url":"https://api.github.com/users/sebfz1/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T17:27:51Z","updated_at":"2015-07-14T17:27:51Z","body":"Hi Patrick,\r\n\r\nSorry, just saw this question. The answer is \"almost\" :)\r\n\r\n`JQueryGlobalizeResourceReference` already embeed `globalize.js` and is automatically added to header items... as soon the user set it explicitly in `JQueryLibrarySettings`, like this:\r\n\r\n```java\r\n// Application#init()\r\nJQueryLibrarySettings settings = new JQueryLibrarySettings();\r\nsettings.setJQueryGlobalizeReference(JQueryGlobalizeResourceReference.get());\r\n \r\nthis.setJavaScriptLibrarySettings(settings);\r\n```\r\n\r\nBest regards,\r\nSebastien."}}