{"id":13427975,"url":"https://github.com/onomojo/i18n_country_select","last_synced_at":"2025-03-16T00:32:36.701Z","repository":{"id":2770994,"uuid":"3769756","full_name":"onomojo/i18n_country_select","owner":"onomojo","description":"A Rails select form helper using country codes for I18n translations","archived":false,"fork":true,"pushed_at":"2022-02-14T07:46:05.000Z","size":90,"stargazers_count":28,"open_issues_count":5,"forks_count":33,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-23T08:47:08.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"manafire/country_code_select","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onomojo.png","metadata":{"files":{"readme":"README.rdoc","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}},"created_at":"2012-03-19T23:14:12.000Z","updated_at":"2023-04-04T19:35:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/onomojo/i18n_country_select","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onomojo%2Fi18n_country_select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onomojo%2Fi18n_country_select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onomojo%2Fi18n_country_select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onomojo%2Fi18n_country_select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onomojo","download_url":"https://codeload.github.com/onomojo/i18n_country_select/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809865,"owners_count":20351403,"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-07-31T01:00:43.751Z","updated_at":"2025-03-16T00:32:36.342Z","avatar_url":"https://github.com/onomojo.png","language":"Ruby","funding_links":[],"categories":["View Helper","视图"],"sub_categories":["Omniauth"],"readme":"{\u003cimg src=\"https://travis-ci.org/onomojo/i18n_country_select.svg?branch=master\" alt=\"Build Status\" /\u003e}[https://travis-ci.org/onomojo/i18n_country_select]\n\n\n== Country Code Select\n\nA simple country code select helper with I18n translations for the countries. Works exactly the same as country_select but uses country codes instead and has i18n translations for the country names.\n\nNOTE: The old country_code_select repository that this one was forked from is outdated and no longer maintained. This i18_country_select repository is the most current.\n\n== Installation\nPut the following in your Gemfile\n\n  gem 'i18n_country_select'\n\n== Example\nSimple use supplying model and attribute as parameters:\n\n  country_code_select(:user, :country)\n\nSupplying priority countries to be placed at the top of the list:\n\n  country_code_select(:user, :country, [[ 'US', 'United States' ], [ 'CA', 'Canada' ]])\n\nSpecifying different selected value:\n\n  country_code_select(:user, :country, [], selected: 'CA')\n\n\nBased on the deprecated country_code_select by: Russ Smith (russ@bashme.org) and Frank Wambutt (frank@mo-stud.io)\n\n\n== License\n\nMIT or GPL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonomojo%2Fi18n_country_select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonomojo%2Fi18n_country_select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonomojo%2Fi18n_country_select/lists"}