{"id":15393451,"url":"https://github.com/vexu/i18n-experiment","last_synced_at":"2025-04-15T23:40:51.333Z","repository":{"id":165769565,"uuid":"641163526","full_name":"Vexu/i18n-experiment","owner":"Vexu","description":"An experiment at creating an translation library for use with Zig.","archived":false,"fork":false,"pushed_at":"2023-10-15T09:50:40.000Z","size":60,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-05T14:47:10.125Z","etag":null,"topics":["i18n","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/Vexu.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}},"created_at":"2023-05-15T23:14:56.000Z","updated_at":"2024-07-23T17:02:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e59d974-793e-4787-a253-c0c51efdd13c","html_url":"https://github.com/Vexu/i18n-experiment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Fi18n-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Fi18n-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Fi18n-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Fi18n-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vexu","download_url":"https://codeload.github.com/Vexu/i18n-experiment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219948618,"owners_count":16573475,"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":["i18n","zig"],"created_at":"2024-10-01T15:19:25.252Z","updated_at":"2024-10-17T03:01:45.721Z","avatar_url":"https://github.com/Vexu.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i18n experiment\n\nAn experiment at creating an translation library for use with Zig.\n\nOne goal is that starting to use this should be as easy as\nreplacing all instances like `writer.print(\"...\", .{...})`\nwith `i18n.format(writer, \"...\", .{...})`\nwhere the format string becomes the key for translation.\n\nTranslations are specified in `$LOCALE.def` files so for code like\n```zig\ni18n.format(writer, \"Hello {s}!\", .{name});\n```\nA finnish translation file `fi_FI.def` would contain something like:\n```\n# Comment explaining something about this translation\ndef \"Hello {%name}!\"\n    \"Moikka {%name}!\"\nend\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvexu%2Fi18n-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvexu%2Fi18n-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvexu%2Fi18n-experiment/lists"}