{"id":20702909,"url":"https://github.com/alexplatteeuw/rosette","last_synced_at":"2025-04-23T00:16:20.561Z","repository":{"id":153750472,"uuid":"629117561","full_name":"alexplatteeuw/rosette","owner":"alexplatteeuw","description":"rosette","archived":false,"fork":false,"pushed_at":"2025-04-22T06:51:00.000Z","size":208,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T07:49:04.172Z","etag":null,"topics":["i18n","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/alexplatteeuw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-17T16:50:54.000Z","updated_at":"2025-04-22T06:50:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"c90220a0-f9f5-4d8c-97ca-630bda624356","html_url":"https://github.com/alexplatteeuw/rosette","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/alexplatteeuw%2Frosette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexplatteeuw%2Frosette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexplatteeuw%2Frosette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexplatteeuw%2Frosette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexplatteeuw","download_url":"https://codeload.github.com/alexplatteeuw/rosette/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250203230,"owners_count":21391640,"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":["i18n","rails","ruby"],"created_at":"2024-11-17T01:05:27.399Z","updated_at":"2025-04-23T00:16:20.538Z","avatar_url":"https://github.com/alexplatteeuw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rosette\n\nRosette is a Ruby on Rails engine that helps you add missing translations to your application. \n\nIf your main app is configured to raise on missing translations, Rosette will catch any `I18n::MissingTranslationData` error and display a form to add the missing translations. \n\nThe form includes an input for each available locale set by `config.i18n.available_locales`.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"rosette\"\n```\n\nAnd then execute:\n```bash\n$ bundle\n```\n\nMake sure your app raises error for missing translations in development:\n\n```ruby\n# config/environments/development.rb\n\nconfig.i18n.raise_on_missing_translations = true\n```\n\nand that you explicitly set the available locales:\n\n```ruby\n# config/application.rb\n\nconfig.i18n.available_locales = [:fr, :en]\n```\n\nWhether you currently use or are interested in starting to use [i18n-task](https://github.com/glebm/i18n-tasks#normalize-data) to normalize your locales files, add this initializer:\n\n```ruby\n# config/initializers/rosette.rb\n\nRosette.normalize = true\n```\n\n## Preview\n\nThis is how you will be able to add your missing translations for each available locale set in `config/application.rb`:\n\n\u003cimg src=\"https://raw.githubusercontent.com/alexplatteeuw/rosette/master/preview.png\" width=\"545\"\u003e\n\n\n## CLI\n\nThis gem also provides a command line interface. Run `bundle exec rosette` to get the list of all the tasks:\n\n\u003cimg src=\"https://raw.githubusercontent.com/alexplatteeuw/rosette/master/tasks.png\" width=\"545\"\u003e\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexplatteeuw%2Frosette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexplatteeuw%2Frosette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexplatteeuw%2Frosette/lists"}