{"id":16225935,"url":"https://github.com/bestguy/knockout3-durandal-i18n","last_synced_at":"2025-04-10T18:31:38.993Z","repository":{"id":12564594,"uuid":"15235020","full_name":"bestguy/knockout3-durandal-i18n","owner":"bestguy","description":"Knockout 3 example showing some nice Angular-like features using Durandal, Knockout.Punches, and require.js","archived":false,"fork":false,"pushed_at":"2016-04-11T19:03:35.000Z","size":653,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T09:18:03.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bestguy.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-16T19:30:28.000Z","updated_at":"2020-10-04T12:45:34.000Z","dependencies_parsed_at":"2022-09-05T12:30:38.450Z","dependency_job_id":null,"html_url":"https://github.com/bestguy/knockout3-durandal-i18n","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestguy%2Fknockout3-durandal-i18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestguy%2Fknockout3-durandal-i18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestguy%2Fknockout3-durandal-i18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestguy%2Fknockout3-durandal-i18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestguy","download_url":"https://codeload.github.com/bestguy/knockout3-durandal-i18n/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248271547,"owners_count":21075800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T12:47:00.520Z","updated_at":"2025-04-10T18:31:38.970Z","avatar_url":"https://github.com/bestguy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Internationalization using Knockout 3, i18next, Knockout.Punches, and Durandal\n\nExample showing internationalization in a Knockout 3 app using i18next and Knockout.Punches\n\n## Demos:\n\n### {{ handlebars }}\nHandlebars text insertion instead of the usual `data-bind=\"text: ...\"`\n\n```\u003ch1\u003eThis is {{ someObservable }}.  I like it.\u003c/h1\u003e```\n\nThis can also be used directly inside of attributes:\n\n```\u003ch1 title=\"{{ anotherObservable }}\"\u003eThis is {{ someObservable }}\u003c/h1\u003e```\n\ninstead of the usual `data-bind=\"attr: { someAttribute: ... }\"`\n\n### I18N text filter using i18next:\n#### {{ 'internationalized.text' | i18n }}\n\n```\u003ch2\u003eThis is a localized string: {{ 'home.label' | i18n }}\u003c/h2\u003e```\n\n## Libraries\n\n- **Knockout 3** - [http://knockoutjs.com](http://knockoutjs.com)\n\t- Used for data-binding between JavaScript models and the DOM\n- **Knockout.Punches** - [http://mbest.github.io/knockout.punches/](http://mbest.github.io/knockout.punches/)\n\t- Uses new KO3 APIs to add Angular-style handlebars and filter functionality.\n- **i18next** - [http://i18next.com/](http://i18next.com/)\n\t- Internationalization library\n- **Durandal** - [http://durandaljs.com](http://durandaljs.com)\n\t- SPA Application library built on Knockout and requirejs that adds advanced modules and view transition functionality.\n\n## Running:\n\n(Ensure you have installed node.js (https://nodejs.org) and bower (http://bower.io))\n\n    npm install\n    bower install\n    node app.js","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestguy%2Fknockout3-durandal-i18n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestguy%2Fknockout3-durandal-i18n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestguy%2Fknockout3-durandal-i18n/lists"}