{"id":24711955,"url":"https://github.com/borgar/gettext-js","last_synced_at":"2026-05-19T06:07:24.726Z","repository":{"id":3185879,"uuid":"4218219","full_name":"borgar/gettext-js","owner":"borgar","description":"Python script to make gettext dumps from JavaScript files.","archived":false,"fork":false,"pushed_at":"2013-04-12T10:30:44.000Z","size":110,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T06:45:47.833Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/borgar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-03T20:09:07.000Z","updated_at":"2014-03-20T20:40:52.000Z","dependencies_parsed_at":"2022-07-07T14:07:42.353Z","dependency_job_id":null,"html_url":"https://github.com/borgar/gettext-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/borgar/gettext-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Fgettext-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Fgettext-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Fgettext-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Fgettext-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borgar","download_url":"https://codeload.github.com/borgar/gettext-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgar%2Fgettext-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33204132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"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":[],"created_at":"2025-01-27T07:16:40.071Z","updated_at":"2026-05-19T06:07:24.708Z","avatar_url":"https://github.com/borgar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gettext-js\n\nThis is a naïve hack to produce *gettext* compatible files from JavaScript. *xgettext* doesn't have support for the JavaScript language and the de-facto way of doing things seems to be applying some nasty regular expressions on the JS file and running it through xgettext as either Python or Perl.\n\nI have found this method to be insufficient for the code I write. Thus, this nasty thing. Theoretically, it is just as crappy as the other way. However in practice it wins out because it is better maintainable, smaller, and runs as a pure-Python solution (a plus if that is your environment).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgar%2Fgettext-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborgar%2Fgettext-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgar%2Fgettext-js/lists"}