{"id":15405172,"url":"https://github.com/fnando/guard-i18n-json","last_synced_at":"2025-10-18T18:19:48.756Z","repository":{"id":56875506,"uuid":"228344456","full_name":"fnando/guard-i18n-json","owner":"fnando","description":"Export your I18n translations to JSON files automatically when files change.","archived":false,"fork":false,"pushed_at":"2020-11-16T03:51:05.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-23T04:41:18.799Z","etag":null,"topics":["guard","i18n","i18n-json","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/fnando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["fnando"],"custom":["https://www.paypal.me/nandovieira/🍕"]}},"created_at":"2019-12-16T08:59:29.000Z","updated_at":"2022-12-29T18:57:24.000Z","dependencies_parsed_at":"2022-08-20T10:11:18.149Z","dependency_job_id":null,"html_url":"https://github.com/fnando/guard-i18n-json","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fguard-i18n-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fguard-i18n-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fguard-i18n-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fguard-i18n-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fnando","download_url":"https://codeload.github.com/fnando/guard-i18n-json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910715,"owners_count":20367538,"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":["guard","i18n","i18n-json","ruby"],"created_at":"2024-10-01T16:15:19.414Z","updated_at":"2025-10-18T18:19:43.706Z","avatar_url":"https://github.com/fnando.png","language":"Ruby","funding_links":["https://github.com/sponsors/fnando","https://www.paypal.me/nandovieira/🍕"],"categories":[],"sub_categories":[],"readme":"# Guard::I18nJson\n\nExport your I18n translations to JSON files automatically when files change. This is the companion guard plugin for [i18n-json](https://github.com/fnando/i18n-json).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"guard-i18n-json\"\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install guard-i18n-json\n\n## Usage\n\nFirst, add the template to your `Guardfile` with the following command:\n\n```console\n$ bundle exec guard init i18n_json\n```\n\nSomething like this will be added:\n\n```ruby\nguard(:i18n_json,\n      run_on_start: true,\n      config_file: \"./config/i18n_json.yml\",\n      require_file: \"./config/boot.rb\") do\n  watch(%r{^(app|config)/locales/.+\\.(yml|po)$})\n  watch(%r{^config/i18n_json.yml$})\n  watch(\"Gemfile\")\nend\n```\n\nConfigure file paths accordingly.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/fnando/guard-i18n-json. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Guard::I18nJson project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/fnando/guard-i18n-json/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Fguard-i18n-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffnando%2Fguard-i18n-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Fguard-i18n-json/lists"}