{"id":20400639,"url":"https://github.com/mcfilib/i18n","last_synced_at":"2025-04-12T14:07:38.089Z","repository":{"id":62436252,"uuid":"65560598","full_name":"mcfilib/i18n","owner":"mcfilib","description":"Internationalisation for Haskell","archived":false,"fork":false,"pushed_at":"2023-12-01T11:02:30.000Z","size":45,"stargazers_count":8,"open_issues_count":8,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T21:55:54.340Z","etag":null,"topics":["haskell","internationalisation"],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/i18n","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcfilib.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":"2016-08-12T14:46:11.000Z","updated_at":"2021-09-13T21:30:51.000Z","dependencies_parsed_at":"2024-11-15T12:16:32.006Z","dependency_job_id":null,"html_url":"https://github.com/mcfilib/i18n","commit_stats":{"total_commits":28,"total_committers":4,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"eca8d48cac3b0d19bf64714cc2ce7d3df12d8868"},"previous_names":["filib/i18n"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcfilib%2Fi18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcfilib%2Fi18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcfilib%2Fi18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcfilib%2Fi18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcfilib","download_url":"https://codeload.github.com/mcfilib/i18n/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487729,"owners_count":21112188,"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":["haskell","internationalisation"],"created_at":"2024-11-15T04:41:55.219Z","updated_at":"2025-04-12T14:07:38.071Z","avatar_url":"https://github.com/mcfilib.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i18n\n\nA suite of tools for dealing with internationalisation in Haskell applications.\n\n## Usage\n\n### Library\n\n``` haskell\n-- Formatted for use in ghci.\n\n:set -XOverloadedStrings\n\n:{\nimport qualified Data.Text.I18n    as I18n\nimport qualified Data.Text.I18n.Po as I18n\n\n-- Setup i18n context.\n(l10n, _) \u003c- I18n.getL10n \"./test/locale\"\n\n-- Add an example annotation.\nlet example = I18n.gettext \"Like tears in rain.\"\n\n-- Localise the example.\nI18n.localize l10n (I18n.Locale \"cym\") example\n:}\n```\n\n## Development\n\n### Tasks\n\n```\n$ make help\nclean                          Clean Haskell local packages\nformat                         Format Haskell source\nhelp                           Print available tasks\ninstall                        Compile Haskell binary\nrepl                           Launch ghci\nspec                           Run the specs\nwatch                          Compile on file changes\n```\n\n### Tests\n\n```\n$ make spec\nExamples: 11  Tried: 11  Errors: 0  Failures: 0\nExamples: 3  Tried: 3  Errors: 0  Failures: 0\nshakespeare-2.0.8.2: test (suite: test)\ni18n-0.4.0.0: test (suite: i18n-test)\nCompleted 2 action(s).\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcfilib%2Fi18n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcfilib%2Fi18n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcfilib%2Fi18n/lists"}