{"id":13564846,"url":"https://github.com/change/linguist","last_synced_at":"2026-04-07T04:31:43.618Z","repository":{"id":18076370,"uuid":"21139168","full_name":"change/linguist","owner":"change","description":"Elixir Internationalization library","archived":false,"fork":false,"pushed_at":"2026-03-04T15:27:20.000Z","size":232,"stargazers_count":184,"open_issues_count":2,"forks_count":23,"subscribers_count":37,"default_branch":"main","last_synced_at":"2026-03-13T08:57:39.940Z","etag":null,"topics":["elixir"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/linguist","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/change.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-06-23T19:23:42.000Z","updated_at":"2026-03-04T15:31:44.000Z","dependencies_parsed_at":"2024-02-06T01:44:16.340Z","dependency_job_id":"304e9a06-e883-4b97-bed5-b8d1b54b584b","html_url":"https://github.com/change/linguist","commit_stats":null,"previous_names":["chrismccord/linguist"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/change/linguist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/change%2Flinguist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/change%2Flinguist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/change%2Flinguist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/change%2Flinguist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/change","download_url":"https://codeload.github.com/change/linguist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/change%2Flinguist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31036727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T07:48:52.080Z","status":"ssl_error","status_checked_at":"2026-03-27T07:48:19.562Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"],"created_at":"2024-08-01T13:01:36.897Z","updated_at":"2026-04-07T04:31:43.609Z","avatar_url":"https://github.com/change.png","language":"Elixir","funding_links":[],"categories":["Translations and Internationalizations"],"sub_categories":[],"readme":"# Linguist\n\n[![Test](https://github.com/change/linguist/actions/workflows/test.yml/badge.svg)](https://github.com/change/linguist/actions/workflows/test.yml)\n[![Version on Hex.pm](https://img.shields.io/hexpm/v/linguist.svg)](https://hex.pm/packages/linguist)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/linguist)\n[![Hex.pm downloads](https://img.shields.io/hexpm/dt/linguist.svg)](https://hex.pm/packages/linguist)\n[![License](https://img.shields.io/hexpm/l/linguist.svg)](https://github.com/change/linguist/blob/main/LICENSE)\n[![Latest commit](https://img.shields.io/github/last-commit/change/linguist.svg)](https://github.com/change/linguist/commits/main)\n![GitHub top language](https://img.shields.io/github/languages/top/change/linguist)\n\n\u003e Linguist is a simple Elixir Internationalization library\n\n## Installation\n\nAdd `:linguist` to your `mix.exs` dependencies:\n\n```elixir\ndef deps do\n  [\n    {:linguist, \"~\u003e 0.5\"}\n  ]\nend\n```\n\nUpdate your dependencies:\n\n```bash\n$ mix deps.get\n```\n\n## Usage\n\n```elixir\ndefmodule I18n do\n  use Linguist.Vocabulary\n\n  locale \"en\", [\n    flash: [\n      notice: [\n        hello: \"hello %{first} %{last}\",\n        bye: \"bye now, %{name}!\"\n      ]\n    ],\n    users: [\n      title: \"Users\",\n      profiles: [\n        title: \"Profiles\",\n      ]\n    ]\n  ]\n\n  locale \"fr\", Path.join([__DIR__, \"fr.exs\"])\nend\n\n# fr.exs\n[\n  flash: [\n    notice: [\n      hello: \"salut %{first} %{last}\"\n    ]\n  ]\n]\n\niex\u003e I18n.t!(\"en\", \"flash.notice.hello\", first: \"chris\", last: \"mccord\")\n\"hello chris mccord\"\n\niex\u003e I18n.t!(\"fr\", \"flash.notice.hello\", first: \"chris\", last: \"mccord\")\n\"salut chris mccord\"\n\niex\u003e I18n.t!(\"en\", \"users.title\")\n\"Users\"\n```\n\n## Configuration\n\nThe key to use for pluralization is configurable, and should likely be an atom:\n\n```elixir\nconfig :linguist, pluralization_key: :count\n```\nwill cause the system to pluralize based on the `count` parameter passed to the `t` function.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchange%2Flinguist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchange%2Flinguist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchange%2Flinguist/lists"}