{"id":20145991,"url":"https://github.com/usagi/auto-po4a","last_synced_at":"2026-05-28T23:31:16.368Z","repository":{"id":2660929,"uuid":"3652022","full_name":"usagi/auto-po4a","owner":"usagi","description":"It's automation tool for a document localization project using po4a.","archived":false,"fork":false,"pushed_at":"2012-03-14T03:55:40.000Z","size":112,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T00:14:32.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/usagi.png","metadata":{"files":{"readme":"README","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}},"created_at":"2012-03-07T18:16:39.000Z","updated_at":"2016-08-09T05:50:59.000Z","dependencies_parsed_at":"2022-08-29T13:30:09.807Z","dependency_job_id":null,"html_url":"https://github.com/usagi/auto-po4a","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/usagi/auto-po4a","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fauto-po4a","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fauto-po4a/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fauto-po4a/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fauto-po4a/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usagi","download_url":"https://codeload.github.com/usagi/auto-po4a/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Fauto-po4a/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33630999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":"2024-11-13T22:19:09.805Z","updated_at":"2026-05-28T23:31:16.352Z","avatar_url":"https://github.com/usagi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"* What's this\n\nIt's automation tool for a document localization project using po4a.\n\n  it's automation for:\n    + get/update/generate source(s)\n    + generate/update po4 file(s)\n    + generate translated file(s)\n    + git pull/add/commit\n\n* Dependancy\n\n  (must)\n    po4a, nkf, cmp\n\n  (optional; but need for general)\n    wget|curl|aria2c\n\n  (optional)\n    git\n\n  (optional; for an alternative scheme if you need)\n    perl|runhaskell|python|...\n\n* How to use\n\n1. deploy the bin/* to your environment\n  \n  e.g.)\n    % cp -al bin ~\n    \n      note:\n        you don't forget through the path to ~/bin\n\n2. create a some directory and run `auto-po4a` in the directory\n\n  e.g.)\n    % mkdir /tmp/some-dir\n    % cd /tmp/some-dir\n    % auto-po4a\n\n3. configure \"etc/auto-po4a.configure\" as you like\n\n  note:\n    some special scheme is enabled at the sources\n      a. \"null\" scheme\n        it's not do anything for get the get a file.\n        but, afford .po generate/update and translate.\n      b. \"alternative\" scheme\n        you can use an original script as you like.\n        create \"bin\" directory. and deply your script.\n        align the script filename to source URL with a few rule:\n          source: alternative://alternative/test/hoge.txt\n          script: bin/alternative-test\n        the script must generate ot get the \"hoge.txt\".\n\n        note: comment out a source line if need nothing to do.\n\n* How to Uninstall\n\nremove \"auto-po4a*\" in your deployed place.\n\n  note:\n    use `which` or `find` with \"auto-po4\" if you need.\n\n* Licence\n\nMIT/X11 License\nhttp://www.opensource.org/licenses/mit-license\n\n\n* Contacts\n\nusagi@WonderRabbitProject.net\nhttp://www.WonderRabbitProject.net/\n\n\n* Copyright\n\n(C) 2012 Usagi Ito @ Wonder Rabbit Project.\n\n\n* Change log\n\nnew\n\n[1a77525e4f6c3f8121b7308a2714d4c715c9ac03]\n\nbug fix; auto_git. add default configure function,and you can compactize for your etc/auto-po4a.configure. see also the README.L10N/etc/auto-po4a.configure is a sample. :)\n\n[71ec2a1b50d748c443c4b9c06db43d8999f6b942]\n\nnew feature; check the source update, and pass update po if needn't.\n\n  note) current process flow; the new feature\n    \n    0. git pull if need\n    1. ### backup old source if available ###\n    2. get new source\n    3. check update\n    4. ### remove old source if available ###\n    5. update po ### if need ###\n    6. translate using po\n    7. git add/commit if need\n\n[76a7855d90a8f40a84353ac770f00e3c833d3a89]\n\nbug fix; fix translated filename from no-extension file.\n\n  old) README --\u003e README.ja.po --\u003e README.ja.README\n  new) README --\u003e README.ja.po --\u003e README.ja\n\n[96d863a0dfeec1585c4596e3201d367c4c3e2980]\n\nadd flag auto_git in configure and implement switching the function.\n\n  configure)\n    enabling auto git pull/add/commit: auto_git=TRUE\n    disabling it: auto_git=FALSE\n\n      note) this function is disable if you don't define auto_git\n\n[52c3d18585e0df198d5949c5bc0df492053c9190]\n\nbug fix; don't automation git add and commit functions.\n\n[99c5475d6825baabf024b55edde75e6262b15ef9]\n\nbug fix; can't insertion language code to translated file.\n\n[900744021acf246499f08f525390b7e2b24011b5]\n\nadd translate keep ratio. default is 0.\n\n[628b0f57aa2a3a94481e212ac98a641f982ec8c6]\n\nchange to insertion from addition for the position of a language code extension.\n\n  new) abc.txt --\u003e abc.txt.ja.po --\u003e abc.ja.txt\n  old) abc.txt --\u003e abc.txt.ja.po --\u003e abc.txt.ja\n\n[e20e1aad10a76da74778938e0869ea0d9767af08]\n\nthe first commit\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusagi%2Fauto-po4a","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusagi%2Fauto-po4a","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusagi%2Fauto-po4a/lists"}