{"id":24299141,"url":"https://github.com/orisons/y18n","last_synced_at":"2025-09-26T00:31:29.353Z","repository":{"id":57557825,"uuid":"111153449","full_name":"orisons/y18n","owner":"orisons","description":"Internationalization library based on YAML files.","archived":false,"fork":false,"pushed_at":"2018-04-11T06:53:39.000Z","size":51,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-02T14:14:03.934Z","etag":null,"topics":["elixir","i18n","internationalization","yaml"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orisons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-17T21:41:43.000Z","updated_at":"2020-10-05T10:29:47.000Z","dependencies_parsed_at":"2022-08-28T11:41:40.376Z","dependency_job_id":null,"html_url":"https://github.com/orisons/y18n","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/orisons/y18n","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisons%2Fy18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisons%2Fy18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisons%2Fy18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisons%2Fy18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orisons","download_url":"https://codeload.github.com/orisons/y18n/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisons%2Fy18n/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274631379,"owners_count":25321242,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","i18n","internationalization","yaml"],"created_at":"2025-01-16T21:18:54.814Z","updated_at":"2025-09-26T00:31:28.892Z","avatar_url":"https://github.com/orisons.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://travis-ci.org/orisons/y18n\"\u003e\u003cimg src=\"https://travis-ci.org/orisons/y18n.svg?branch=master\" /\u003e\u003c/a\u003e\n\n# Readme\n\n**Internationalization library based on YAML files.**\n\n## Installation\n\nAdd `y18n` as dependency in `mix.exs`\n```elixir\n[{:y18n, \"~\u003e 1.0\"}]\n```\n\n## Basic usage\n\nUse translation functions `y/1` or `y/3`\n```elixir\niex\u003e y(\"Hello world\") # Singular\n\"Witaj świecie\"\niex\u003e y(\"%d apple\", \"%d apples\", 3) # Plural\n\"3 jabłka\"\n```\n**To use with Plug or Phoenix framework go \u003ca href=\"/y18n/integration.html\"\u003ehere\u003c/a\u003e**\n\n## Generate YAML file\n```elixir\nmix y18n.fetch\n```\nTranslation files will be available in `priv/y18n/`. More info \u003ca href=\"/y18n/Mix.Tasks.Y18n.Fetch.html\"\u003ehere\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisons%2Fy18n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forisons%2Fy18n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisons%2Fy18n/lists"}