{"id":21539838,"url":"https://github.com/richardvenneman/emoji_flag","last_synced_at":"2025-04-10T03:26:31.785Z","repository":{"id":52421343,"uuid":"83969769","full_name":"richardvenneman/emoji_flag","owner":"richardvenneman","description":"🇳🇱 Emoji country flags for language codes and LCID's","archived":false,"fork":false,"pushed_at":"2021-04-29T19:19:19.000Z","size":22,"stargazers_count":13,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-29T09:41:12.313Z","etag":null,"topics":["emoji","flags","i18n","language","locale"],"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/richardvenneman.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}},"created_at":"2017-03-05T12:53:39.000Z","updated_at":"2024-03-02T15:12:54.000Z","dependencies_parsed_at":"2022-09-06T08:02:15.593Z","dependency_job_id":null,"html_url":"https://github.com/richardvenneman/emoji_flag","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardvenneman%2Femoji_flag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardvenneman%2Femoji_flag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardvenneman%2Femoji_flag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richardvenneman%2Femoji_flag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richardvenneman","download_url":"https://codeload.github.com/richardvenneman/emoji_flag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248150038,"owners_count":21055849,"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":["emoji","flags","i18n","language","locale"],"created_at":"2024-11-24T04:16:32.402Z","updated_at":"2025-04-10T03:26:31.752Z","avatar_url":"https://github.com/richardvenneman.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmojiFlag\n\nA simple gem to get the [emoji flag](http://emojipedia.org/flags/) for an [ISO 639-1 language code](http://www.loc.gov/standards/iso639-2/php/English_list.php) or locale id string (LCID).\n\n[![Build Status](https://travis-ci.org/richardvenneman/emoji_flag.svg?branch=master)](https://travis-ci.org/richardvenneman/emoji_flag)\n[![Gem Version](https://badge.fury.io/rb/emoji_flag.svg)](https://badge.fury.io/rb/emoji_flag)\n[![Maintainability](https://api.codeclimate.com/v1/badges/a89942c8e3aca31dfd6a/maintainability)](https://codeclimate.com/github/richardvenneman/emoji_flag/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/a89942c8e3aca31dfd6a/test_coverage)](https://codeclimate.com/github/richardvenneman/emoji_flag/test_coverage)\n\n## Usage\n\n```ruby\nEmojiFlag.new('nl') # =\u003e 🇳🇱\nEmojiFlag.new('en') # =\u003e 🇬🇧\nEmojiFlag.new('nl_BE') # =\u003e 🇧🇪\nEmojiFlag.new('en_US') # =\u003e 🇺🇸\n```\n\nAlso supports passing in a symbol language code, making it easy to integrate with [Rails' `I18n.available_locales`](http://guides.rubyonrails.org/i18n.html]):\n\n```ruby\nEmojiFlag.new(:de) # =\u003e 🇩🇪\n```\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'emoji_flag'\n```\n\nAnd then execute:\n```bash\n$ bundle\n```\n\n## License\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardvenneman%2Femoji_flag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichardvenneman%2Femoji_flag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardvenneman%2Femoji_flag/lists"}