{"id":50770243,"url":"https://github.com/mirai-audio/ember-i18n-changeset-validations","last_synced_at":"2026-06-13T15:01:16.207Z","repository":{"id":52165058,"uuid":"116582561","full_name":"mirai-audio/ember-i18n-changeset-validations","owner":"mirai-audio","description":" ember-i18n support for ember-changeset-validations messages","archived":false,"fork":false,"pushed_at":"2021-05-06T17:11:48.000Z","size":7850,"stargazers_count":10,"open_issues_count":47,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-11T18:24:13.104Z","etag":null,"topics":["ember","ember-addon","ember-changeset","i18n","internationalization","validation"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mirai-audio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-07T16:52:30.000Z","updated_at":"2024-05-30T03:17:36.000Z","dependencies_parsed_at":"2022-09-09T01:41:30.291Z","dependency_job_id":null,"html_url":"https://github.com/mirai-audio/ember-i18n-changeset-validations","commit_stats":null,"previous_names":["0xadada/ember-i18n-changeset-validations"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mirai-audio/ember-i18n-changeset-validations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai-audio%2Fember-i18n-changeset-validations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai-audio%2Fember-i18n-changeset-validations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai-audio%2Fember-i18n-changeset-validations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai-audio%2Fember-i18n-changeset-validations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirai-audio","download_url":"https://codeload.github.com/mirai-audio/ember-i18n-changeset-validations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirai-audio%2Fember-i18n-changeset-validations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34288666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ember","ember-addon","ember-changeset","i18n","internationalization","validation"],"created_at":"2026-06-11T18:00:18.260Z","updated_at":"2026-06-13T15:01:16.168Z","avatar_url":"https://github.com/mirai-audio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-i18n-changeset-validations\n\n\n[![CircleCI](https://img.shields.io/circleci/project/github/mirai-audio/ember-i18n-changeset-validations/master.svg?style=flat-square)](https://circleci.com/gh/mirai-audio/ember-i18n-changeset-validations)\n[![Coveralls branch](https://img.shields.io/coveralls/mirai-audio/ember-i18n-changeset-validations/master.svg?style=flat-square)](https://coveralls.io/github/mirai-audio/ember-i18n-changeset-validations?branch=master)\n[![npm](https://img.shields.io/npm/v/ember-i18n-changeset-validations.svg)](https://www.npmjs.com/package/ember-i18n-changeset-validations)\n[![Ember](https://img.shields.io/badge/Ember-\u003e=2.12-blue.svg?style=flat-square)](https://emberjs.com/)\n[![Ember Observer Score](https://emberobserver.com/badges/ember-i18n-changeset-validations.svg)](https://emberobserver.com/addons/ember-i18n-changeset-validations)\n[![Greenkeeper badge](https://badges.greenkeeper.io/mirai-audio/ember-i18n-changeset-validations.svg)](https://greenkeeper.io/)\n\n_Adds support for ember-i18n to ember-changeset-validations_\n\n`ember-i18n-changeset-validations` is a companion validation library to\n`ember-changeset-validations`.  This addon adds the ability to translate\n`ember-changeset-validation` messages using the `ember-i18n` addon.  Since \n`ember-changeset` is required to use this addon, please see [documentation \nthere](https://github.com/poteto/ember-changeset) on how to use changeset.\n\n\n## Usage\n\nTo install: `ember install ember-i18n-changeset-validations`.\n\nThis addon also provides `ember-changeset-validations` (and `ember-changeset`)\nas dependencies.\n\nDefine `ember-i18n` translation files for the validation messages files in\n`app/locales/\u003cLANG_CODE\u003e/validations.js` (where `LANG_CODE` is an ISO language\ncode).\n\nAn example of an `ember-i18n` translation file, showing a translation key \nthat will replace the default \"between\" message from\n`ember-changeset-validations`.\n\n```javascript\n// app/locales/en/validations.js\nexport default {\n  /* overrides for ember-changeset-validation messages\n   * see: ember-changeset-validations/utils/messages\n   */\n  between: \"{description} must be between{min} and {max} characters\",\n};\n```\n\nAn example of a Japanese validation message.\n\n```javascript\n// app/locales/ja/validations.js\nexport default {\n  /* overrides for ember-changeset-validation messages\n   * see: ember-changeset-validations/utils/messages\n   */\n  between: \"{description}は{min}〜{max}文字の間でなければなりません\",\n};\n```\n\nFor each locale (en \u0026 ja in this example), import the validations translation\nmodule into the main `ember-i18n` manifest, located in \n`app/locales/\u003cLANG_CODE\u003e/translations.js`.\n\ne.g English translations manifest file.\n\n```javascript\n// app/locales/en/validations.js\nimport validations from \"./validations\";\n// other imports\n\nexport default {\n  // other translation objects\n  validations\n};\n```\n\ne.g. Japanese translations manifest file.\n```javascript\n// app/locales/ja/validations.js\nimport validations from \"./validations\";\n// other imports\n\nexport default {\n  // other translation objects\n  validations\n};\n```\n\n## Contributing\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirai-audio%2Fember-i18n-changeset-validations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirai-audio%2Fember-i18n-changeset-validations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirai-audio%2Fember-i18n-changeset-validations/lists"}