{"id":17412914,"url":"https://github.com/rmm5t/iso639","last_synced_at":"2025-05-07T23:00:23.682Z","repository":{"id":6082467,"uuid":"7309046","full_name":"rmm5t/iso639","owner":"rmm5t","description":":earth_americas::earth_asia: A ruby gem for ISO 639-1 and ISO 639-2 lookups by name, alpha-2 code, or alpha-3 code","archived":false,"fork":false,"pushed_at":"2025-01-03T00:30:51.000Z","size":54,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-03T23:44:09.396Z","etag":null,"topics":["iso639","language","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/rmm5t.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":["rmm5t"],"custom":"https://www.paypal.me/rmm5t/5"}},"created_at":"2012-12-24T15:54:40.000Z","updated_at":"2025-01-03T00:30:54.000Z","dependencies_parsed_at":"2024-06-21T13:11:23.956Z","dependency_job_id":"f6c7f085-e526-47a7-99ea-54773f39b689","html_url":"https://github.com/rmm5t/iso639","commit_stats":{"total_commits":80,"total_committers":1,"mean_commits":80.0,"dds":0.0,"last_synced_commit":"57b7d66fb198953ca9ad7e8e3eb730ed4f23e60b"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmm5t%2Fiso639","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmm5t%2Fiso639/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmm5t%2Fiso639/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmm5t%2Fiso639/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmm5t","download_url":"https://codeload.github.com/rmm5t/iso639/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252968052,"owners_count":21833249,"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":["iso639","language","ruby"],"created_at":"2024-10-17T00:53:11.163Z","updated_at":"2025-05-07T23:00:23.618Z","avatar_url":"https://github.com/rmm5t.png","language":"Ruby","funding_links":["https://github.com/sponsors/rmm5t","https://www.paypal.me/rmm5t/5"],"categories":[],"sub_categories":[],"readme":"# iso639\n\n[![Gem Version](http://img.shields.io/gem/v/iso639.svg)](http://badge.fury.io/rb/iso639)\n[![Build Status](https://github.com/rmm5t/iso639/workflows/CI/badge.svg)](https://github.com/rmm5t/iso639/actions?query=workflow%3ACI)\n[![Maintainability](https://api.codeclimate.com/v1/badges/33044338aa8c859fbadc/maintainability)](https://codeclimate.com/github/rmm5t/iso639/maintainability)\n[![Gem Downloads](https://img.shields.io/gem/dt/iso639.svg)](https://rubygems.org/gems/iso639)\n\nThe iso639 gem provides convenience methods for looking up ISO-639-1 or\nISO-639-2 language codes by their english name, 2-char, or 3-char counterpart\n\nAll data was generated from the Library of Congress's list of UTF-8\n[**Codes for the Representation of Names of Languages**](http://www.loc.gov/standards/iso639-2/ascii_8bits.html).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"iso639\"\n```\n\nAnd then execute:\n\n```bash\n$ bundle\n```\n\nOr install it yourself as:\n\n```bash\n$ gem install iso639\n```\n\n## Usage\n\n```ruby\nrequire \"iso639\"\n\n# Lookup by alpha-2 codes\nIso639[\"en\"]                          # =\u003e \"English\"\nIso639[\"en\"].alpha2                   # =\u003e \"en\"\nIso639[\"en\"].alpha3                   # =\u003e \"eng\"\nIso639[\"en\"].alpha3_bibliographic     # =\u003e \"eng\"\nIso639[\"en\"].alpha3_terminology       # =\u003e \"eng\"\nIso639[\"en\"].name                     # =\u003e \"English\"\nIso639[\"en\"].english_name             # =\u003e \"English\"\nIso639[\"en\"].french_name              # =\u003e \"anglais\"\n\n# Lookup by alpha-3-bibliographic codes\nIso639[\"fre\"]                         # =\u003e \"French\"\nIso639[\"fre\"].alpha2                  # =\u003e \"fr\"\nIso639[\"fre\"].alpha3                  # =\u003e \"fre\"\nIso639[\"fre\"].alpha3_bibliographic    # =\u003e \"fre\"\nIso639[\"fre\"].alpha3_terminology      # =\u003e \"fra\"\nIso639[\"fre\"].name                    # =\u003e \"French\"\nIso639[\"fre\"].english_name            # =\u003e \"French\"\nIso639[\"fre\"].french_name             # =\u003e \"français\"\n\n# Lookup by alpha-3-terminology codes\nIso639[\"fra\"]                         # =\u003e \"French\"\nIso639[\"fra\"].alpha2                  # =\u003e \"fr\"\nIso639[\"fra\"].alpha3                  # =\u003e \"fre\"\nIso639[\"fra\"].alpha3_bibliographic    # =\u003e \"fre\"\nIso639[\"fra\"].alpha3_terminology      # =\u003e \"fra\"\nIso639[\"fra\"].name                    # =\u003e \"French\"\nIso639[\"fra\"].english_name            # =\u003e \"French\"\nIso639[\"fra\"].french_name             # =\u003e \"français\"\n\n# Lookup by name\nIso639[\"German\"]                      # =\u003e \"German\"\nIso639[\"German\"].alpha2               # =\u003e \"de\"\nIso639[\"German\"].alpha3               # =\u003e \"ger\"\nIso639[\"German\"].alpha3_bibliographic # =\u003e \"ger\"\nIso639[\"German\"].alpha3_terminology   # =\u003e \"deu\"\nIso639[\"German\"].name                 # =\u003e \"German\"\nIso639[\"German\"].english_name         # =\u003e \"German\"\nIso639[\"German\"].french_name          # =\u003e \"allemand\"\n\n# Retrieve alpha-2 codes\nIso639[\"English\"].alpha2              # =\u003e \"en\"\nIso639[\"fre\"].alpha2                  # =\u003e \"fr\"\nIso639[\"deu\"].alpha2                  # =\u003e \"de\"\nIso639[\"pl\"].alpha2                   # =\u003e \"pl\"\n\n# Retrieve alpha-3 codes\nIso639[\"english\"].alpha3              # =\u003e \"eng\"\nIso639[\"fr\"].alpha3                   # =\u003e \"fre\"\nIso639[\"ger\"].alpha3                  # =\u003e \"ger\"\n\n# Retrieve names\nIso639[\"eng\"].name                    # =\u003e \"English\"\nIso639[\"fr\"].name                     # =\u003e \"French\"\nIso639[\"de\"].name                     # =\u003e \"German\"\nIso639[\"deu\"].name                    # =\u003e \"German\"\nIso639[\"ger\"].name                    # =\u003e \"German\"\nIso639[\"german\"].name                 # =\u003e \"German\"\nIso639[\"GeRmAn\"].name                 # =\u003e \"German\"\n```\n\n## Versioning\n\nSemantic Versioning 2.0 as defined at \u003chttp://semver.org\u003e.\n\n## License\n\n[MIT License](https://rmm5t.mit-license.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmm5t%2Fiso639","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmm5t%2Fiso639","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmm5t%2Fiso639/lists"}