{"id":15204334,"url":"https://github.com/figma/message-format-rb-public","last_synced_at":"2025-10-02T22:31:44.523Z","repository":{"id":43411222,"uuid":"463302330","full_name":"figma/message-format-rb-public","owner":"figma","description":"Parse and format i18n messages using ICU MessageFormat patterns","archived":false,"fork":true,"pushed_at":"2022-07-20T21:59:42.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-29T05:41:41.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"format-message/message-format-rb","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/figma.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-24T21:09:23.000Z","updated_at":"2022-03-02T18:54:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/figma/message-format-rb-public","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/figma%2Fmessage-format-rb-public","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/figma%2Fmessage-format-rb-public/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/figma%2Fmessage-format-rb-public/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/figma%2Fmessage-format-rb-public/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/figma","download_url":"https://codeload.github.com/figma/message-format-rb-public/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235049009,"owners_count":18927715,"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-09-28T05:41:41.628Z","updated_at":"2025-10-02T22:31:39.203Z","avatar_url":"https://github.com/figma.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MessageFormat\n\nParse and format i18n messages using ICU MessageFormat patterns\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'message_format'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install message_format\n\n## Usage\n\n```ruby\nrequire 'message_format'\n\nmessage = MessageFormat.new('Hello { place }!', 'en-US')\nformatted = message.format({ :place =\u003e 'World' })\n```\n\nThe [ICU Message Format][icu-message] is a great format for user-visible strings, and includes simple placeholders, number and date placeholders, and selecting among submessages for gender and plural arguments. The format is used in apis in [C++][icu-cpp], [PHP][icu-php], [Java][icu-java], and [JavaScript][icu-javascript].\n\n## Contributing\n\n1. Fork it ( https://github.com/format-message/message-format-rb/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## License\n\nThis software is free to use under the MIT license. See the [LICENSE.txt file][LICENSE] for license text and copyright information.\n\n[icu-message]: http://userguide.icu-project.org/formatparse/messages\n[icu-cpp]: http://icu-project.org/apiref/icu4c/classicu_1_1MessageFormat.html\n[icu-php]: http://php.net/manual/en/class.messageformatter.php\n[icu-java]: http://icu-project.org/apiref/icu4j/\n[icu-javascript]: https://github.com/format-message/message-format\n[LICENSE]: https://github.com/format-message/message-format-rb/blob/master/LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffigma%2Fmessage-format-rb-public","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffigma%2Fmessage-format-rb-public","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffigma%2Fmessage-format-rb-public/lists"}