{"id":24994221,"url":"https://github.com/phacility/translatewiki","last_synced_at":"2025-04-12T03:15:03.406Z","repository":{"id":66909330,"uuid":"73090442","full_name":"phacility/translatewiki","owner":"phacility","description":"Phabricator/Translatewiki Bindings","archived":false,"fork":false,"pushed_at":"2016-11-23T19:48:09.000Z","size":3048,"stargazers_count":7,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T03:14:58.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/phacility.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-07T15:10:11.000Z","updated_at":"2023-08-10T00:06:12.000Z","dependencies_parsed_at":"2023-05-13T16:00:08.464Z","dependency_job_id":null,"html_url":"https://github.com/phacility/translatewiki","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/phacility%2Ftranslatewiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phacility%2Ftranslatewiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phacility%2Ftranslatewiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phacility%2Ftranslatewiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phacility","download_url":"https://codeload.github.com/phacility/translatewiki/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248510001,"owners_count":21116130,"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":[],"created_at":"2025-02-04T14:50:42.967Z","updated_at":"2025-04-12T03:15:03.401Z","avatar_url":"https://github.com/phacility.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Utilities for importing and exporting translation strings between phutil\nlibraries (including Phabricator) and Translatewiki.\n\nSetup\n=====\n\nInstall Phabricator, then check this out next to it. Your directory should look\nlike this:\n\n```\n$ ls\narcanist/\nlibphutil/\nphabricator/\ntranslatewiki/\n```\n\nExporting Strings\n=================\n\nThis repository already has exported data, so you can just use the files\nlocated in `projects/` if you don't need to regenerate up-to-date strings.\n\nTo export up-to-date strings from Phabricator, run:\n\n```\n$ ./bin/translatewiki export path/to/phabricator/src/ --project phabricator\n```\n\nThis will update `projects/phabricator/en.json` and related files.\n\n\nGenerating Translations\n=======================\n\nIf you have a translated string file and want to convert it into a form that\nPhabricator can read, do this:\n\n```\n$ ./bin/translatewiki generate \\\n  --source path/to/your/strings.json \\\n  --class YourLanguageTranslation \\\n  --locale xx_YY \\\n  --project phabricator \\\n  --out path/to/YourLanguageTranslation.php\n```\n\nThis will write a translation file to `path/to/YourLanguageTranslation.php`\nthat Phabricator can read.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphacility%2Ftranslatewiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphacility%2Ftranslatewiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphacility%2Ftranslatewiki/lists"}