{"id":16058510,"url":"https://github.com/jonathanhefner/i18n-interpolate_nested","last_synced_at":"2026-04-24T16:32:48.194Z","repository":{"id":56877144,"uuid":"139513250","full_name":"jonathanhefner/i18n-interpolate_nested","owner":"jonathanhefner","description":"I18n interpolation support for nested values","archived":false,"fork":false,"pushed_at":"2023-03-18T17:36:02.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-17T23:33:21.183Z","etag":null,"topics":["i18n","rails","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":null,"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/jonathanhefner.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-07-03T01:36:07.000Z","updated_at":"2021-12-16T17:17:21.000Z","dependencies_parsed_at":"2024-12-04T17:35:30.144Z","dependency_job_id":"97082df2-bc3e-4d90-a57d-f0c4b6841558","html_url":"https://github.com/jonathanhefner/i18n-interpolate_nested","commit_stats":{"total_commits":51,"total_committers":1,"mean_commits":51.0,"dds":0.0,"last_synced_commit":"ebfa0b1a3c0ddbfd19ba1bb266eb0a553b9d6ca8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jonathanhefner/i18n-interpolate_nested","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanhefner%2Fi18n-interpolate_nested","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanhefner%2Fi18n-interpolate_nested/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanhefner%2Fi18n-interpolate_nested/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanhefner%2Fi18n-interpolate_nested/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanhefner","download_url":"https://codeload.github.com/jonathanhefner/i18n-interpolate_nested/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanhefner%2Fi18n-interpolate_nested/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32230941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["i18n","rails","ruby","ruby-on-rails"],"created_at":"2024-10-09T03:21:42.178Z","updated_at":"2026-04-24T16:32:48.172Z","avatar_url":"https://github.com/jonathanhefner.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i18n-interpolate_nested\n\nEnables nested values when using I18n interpolation:\n\n```yaml\n# config/locales/en.yml\nen:\n  greeting: \"Hello, %{user.name}!\"\n```\n\n```ruby\nuser = OpenStruct.new(name: \"Matz\")\nI18n.t(:greeting, user: user) # == \"Hello, Matz!\"\n```\n\nInterpolation keys are split into individual symbols (e.g. `:user`\nand `:name` in the above example), and passed to the `#[]` method of\neach nesting object.  Thus, interpolation works with nested Hashes,\nStructs, OpenStructs, Active Record objects, etc.\n\n\n## Installation\n\nAdd the gem to your Gemfile:\n\n```bash\n$ bundle add i18n-interpolate_nested\n```\n\n**If you are not using Rails,** you will also need to invoke\n`I18n::InterpolateNested::init` in order to hook this gem into I18n:\n\n```ruby\nrequire \"i18n/interpolate_nested\"\n\nI18n::InterpolateNested.init\n```\n\n\n## Contributing\n\nRun `bin/test` to run the tests.\n\n\n## License\n\n[MIT License](MIT-LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanhefner%2Fi18n-interpolate_nested","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanhefner%2Fi18n-interpolate_nested","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanhefner%2Fi18n-interpolate_nested/lists"}