{"id":26956320,"url":"https://github.com/elchemista/auto_gettext","last_synced_at":"2025-08-28T06:19:02.144Z","repository":{"id":284870669,"uuid":"956331513","full_name":"elchemista/auto_gettext","owner":"elchemista","description":"A library for automatically translating Gettext `.po` files using LLM services.","archived":false,"fork":false,"pushed_at":"2025-04-25T22:24:21.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T22:25:05.500Z","etag":null,"topics":["elixir","gettext","llm","translation"],"latest_commit_sha":null,"homepage":"","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/elchemista.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,"zenodo":null}},"created_at":"2025-03-28T04:31:55.000Z","updated_at":"2025-04-25T22:23:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"a65ba300-a9fd-4c55-968a-1f56c0a499b0","html_url":"https://github.com/elchemista/auto_gettext","commit_stats":null,"previous_names":["elchemista/auto_gettext"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elchemista/auto_gettext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elchemista%2Fauto_gettext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elchemista%2Fauto_gettext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elchemista%2Fauto_gettext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elchemista%2Fauto_gettext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elchemista","download_url":"https://codeload.github.com/elchemista/auto_gettext/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elchemista%2Fauto_gettext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272452918,"owners_count":24937467,"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-08-28T02:00:10.768Z","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","gettext","llm","translation"],"created_at":"2025-04-03T03:29:38.786Z","updated_at":"2025-08-28T06:19:02.139Z","avatar_url":"https://github.com/elchemista.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoGettext\n\nBatteries-included Mix task that scans your `priv/gettext/**/*.po`, detects\nempty `msgstr \"\"`, asks an LLM for translations, and writes the results back.\n\n```bash\n# translate everything using the default Gemini adapter\n$ mix auto_gettext.translate\n# or point it somewhere else\n$ mix auto_gettext.translate custom/path\n```\n\n## Installation\n\nAdd `auto_gettext` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n   {:auto_gettext, \"~\u003e 0.1.0\",\n       github: \"elchemista/auto_gettext\", branch: \"master\", only: :dev, runtime: false},\n  ]\nend\n```\n\n## Configuration\n\n**Required**: `GOOGLE_API_KEY` env var.\n\n```elixir\nconfig :auto_gettext,\n  api_module: AutoGettext.API.Gemini,\n  translator_module: AutoGettext.GeminiTranslator,\n  gemini_model: \"gemini-2.0-flash\",\n  prompt_template_po: \"...override prompt…\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felchemista%2Fauto_gettext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felchemista%2Fauto_gettext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felchemista%2Fauto_gettext/lists"}