{"id":26647226,"url":"https://github.com/offirmo/i18n","last_synced_at":"2025-08-22T23:07:10.993Z","repository":{"id":57132828,"uuid":"68699641","full_name":"Offirmo/i18n","owner":"Offirmo","description":"XXX IN PROGRESS A powerful, standard-compliant i18n lib for your JS / TS app. (convenient wrapper around yahoo FormatJS lib)","archived":false,"fork":false,"pushed_at":"2017-08-11T07:02:52.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-10T10:18:44.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Offirmo.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":null,"security":null,"support":null}},"created_at":"2016-09-20T10:08:38.000Z","updated_at":"2017-08-11T07:02:54.000Z","dependencies_parsed_at":"2022-09-01T00:11:52.668Z","dependency_job_id":null,"html_url":"https://github.com/Offirmo/i18n","commit_stats":null,"previous_names":["offirmo/internationalize"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fi18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fi18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fi18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Offirmo%2Fi18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Offirmo","download_url":"https://codeload.github.com/Offirmo/i18n/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372365,"owners_count":20604490,"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":"2025-03-24T23:51:27.655Z","updated_at":"2025-03-24T23:51:28.306Z","avatar_url":"https://github.com/Offirmo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Offirmo's internationalize\n\nBased on yahoo i18n libs (http://formatjs.io/), but offering more:\n- integrated Intl API polyfill (taken from yahoo doc itself)\n- simpler API (keeping all features, \n- safer failover\n\nWhile message resolution may fail, we try to not aggressively fail with a throw,\nbut instead return the \"best possible message\":\n- **never throw**, always return a displayable string\n- fallback to \"en\" if possible\n- display a raw key to the user (in UI) rather than nothing, to ease pinpointing\n- allow passing a custom debug id to more easily identify components with broken i18n\n\nTODO add a customizable error handler\n \nInteresting reads:\n* http://userguide.icu-project.org/formatparse\n* http://userguide.icu-project.org/formatparse/messages\n* http://formatjs.io/\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffirmo%2Fi18n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foffirmo%2Fi18n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foffirmo%2Fi18n/lists"}