{"id":19501276,"url":"https://github.com/acryps/language","last_synced_at":"2026-04-15T21:31:38.827Z","repository":{"id":184986620,"uuid":"672802049","full_name":"acryps/language","owner":"acryps","description":"Translations made easy","archived":false,"fork":false,"pushed_at":"2024-06-19T09:10:34.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-25T21:33:14.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acryps.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-31T07:45:24.000Z","updated_at":"2024-06-19T09:10:37.000Z","dependencies_parsed_at":"2024-11-10T22:22:22.607Z","dependency_job_id":null,"html_url":"https://github.com/acryps/language","commit_stats":null,"previous_names":["acryps/language"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/acryps/language","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Flanguage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Flanguage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Flanguage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Flanguage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acryps","download_url":"https://codeload.github.com/acryps/language/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acryps%2Flanguage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31861299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":[],"created_at":"2024-11-10T22:12:12.657Z","updated_at":"2026-04-15T21:31:38.801Z","avatar_url":"https://github.com/acryps.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# acryps language\nTranslations made easy, languages based on ISO 639.\n\n```\n'Hello World'\n\t.german('Hallo Welt')\n\t.italian('Ciao mondo')\n\t.greek('Γεια σου κόσμε')\n\t.japanese('ハローワールド')\n```\n\nJust make sure to set the active language before the strings are resolved\n```\nimport { Language, languages } from '@acryps/language';\n\nLanguage.active = languages.german;\n\nconst count = 3;\nconsole.log(\n\t`${count} items in the cart`\n\t\t.german(`Warenkorb: ${count} Stück`)\n) // → Warenkorb: 3 Stück\n```\n\nCan be used in the browser and server-side!\n\nAnother handy property found on all languages is the natural writing direction:\n```\ndocument.documentElement.dir = Language.active.direction;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facryps%2Flanguage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facryps%2Flanguage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facryps%2Flanguage/lists"}