{"id":18002438,"url":"https://github.com/goofansu/locale_plug","last_synced_at":"2025-07-11T07:35:05.828Z","repository":{"id":40492635,"uuid":"180095987","full_name":"goofansu/locale_plug","owner":"goofansu","description":"Elixir plug to detect and set locale","archived":false,"fork":false,"pushed_at":"2023-12-14T01:04:27.000Z","size":103,"stargazers_count":7,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T22:14:42.431Z","etag":null,"topics":["elixir","locale","plug"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/locale_plug","language":"Elixir","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/goofansu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"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":"2019-04-08T07:41:24.000Z","updated_at":"2021-12-23T01:38:02.000Z","dependencies_parsed_at":"2024-10-29T23:46:37.450Z","dependency_job_id":null,"html_url":"https://github.com/goofansu/locale_plug","commit_stats":{"total_commits":91,"total_committers":6,"mean_commits":"15.166666666666666","dds":0.4285714285714286,"last_synced_commit":"32db91c6695e6b021fbc6a825bf1f4127d01c561"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goofansu%2Flocale_plug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goofansu%2Flocale_plug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goofansu%2Flocale_plug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goofansu%2Flocale_plug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goofansu","download_url":"https://codeload.github.com/goofansu/locale_plug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245618722,"owners_count":20645051,"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":["elixir","locale","plug"],"created_at":"2024-10-29T23:21:49.685Z","updated_at":"2025-03-26T08:31:13.564Z","avatar_url":"https://github.com/goofansu.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LocalePlug\n\nElixir plug to detect and set locale.\n\n[![CI](https://github.com/goofansu/locale_plug/workflows/CI/badge.svg)](https://github.com/goofansu/locale_plug/actions?query=workflow%3ACI)\n\n`locale` is detected according to following order:\n\n\u003e params \u003e cookies \u003e \"accept-language\" in request headers\n\n## Installation\n\n```elixir\ndef deps do\n  [\n    {:locale_plug, \"~\u003e 0.2.0\"}\n  ]\nend\n```\n\n## Usage\n\n```elixir\nplug LocalePlug, backend: MyApp.Gettext\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoofansu%2Flocale_plug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoofansu%2Flocale_plug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoofansu%2Flocale_plug/lists"}