{"id":13684263,"url":"https://github.com/dereuromark/cakephp-translate","last_synced_at":"2025-04-21T11:33:34.277Z","repository":{"id":47013748,"uuid":"89071365","full_name":"dereuromark/cakephp-translate","owner":"dereuromark","description":"A CakePHP plugin to manage translations of your static content the easy way via web backend.","archived":false,"fork":false,"pushed_at":"2024-06-27T14:00:13.000Z","size":450,"stargazers_count":17,"open_issues_count":8,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-27T22:11:03.650Z","etag":null,"topics":["cakephp","cakephp-plugin","i18n","po-files","translation"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/dereuromark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/Contributing.md","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}},"created_at":"2017-04-22T13:22:53.000Z","updated_at":"2024-06-27T14:19:37.000Z","dependencies_parsed_at":"2024-03-20T16:48:04.027Z","dependency_job_id":"80f7a146-8a8f-4243-aecc-f21990d7671b","html_url":"https://github.com/dereuromark/cakephp-translate","commit_stats":{"total_commits":122,"total_committers":6,"mean_commits":"20.333333333333332","dds":0.5983606557377049,"last_synced_commit":"0dff2f63fc0cdec63a5d3dfdbdfefca12dd8cd4d"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereuromark%2Fcakephp-translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dereuromark","download_url":"https://codeload.github.com/dereuromark/cakephp-translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223863958,"owners_count":17216234,"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":["cakephp","cakephp-plugin","i18n","po-files","translation"],"created_at":"2024-08-02T14:00:31.661Z","updated_at":"2024-11-09T18:03:34.367Z","avatar_url":"https://github.com/dereuromark.png","language":"PHP","funding_links":[],"categories":["I18n","Plugins"],"sub_categories":["I18n"],"readme":"# CakePHP Translate Plugin\n[![CI](https://github.com/dereuromark/cakephp-translate/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-translate/actions/workflows/ci.yml?query=branch%3Amaster)\n[![Coverage Status](https://img.shields.io/codecov/c/github/dereuromark/cakephp-translate/master.svg)](https://codecov.io/github/dereuromark/cakephp-translate/branch/master)\n[![Latest Stable Version](https://poser.pugx.org/dereuromark/cakephp-translate/v/stable.svg)](https://packagist.org/packages/dereuromark/cakephp-translate)\n[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)\n[![License](https://poser.pugx.org/dereuromark/cakephp-translate/license.svg)](https://packagist.org/packages/dereuromark/cakephp-translate)\n[![Total Downloads](https://poser.pugx.org/dereuromark/cakephp-translate/d/total.svg)](https://packagist.org/packages/dereuromark/cakephp-translate)\n[![Coding Standards](https://img.shields.io/badge/cs-PSR--2--R-yellow.svg)](https://github.com/php-fig-rectified/fig-rectified-standards)\n\nA CakePHP plugin for managing translations DB driven.\n\nThis branch is for use with **CakePHP 5.0+**. For details see [version map](https://github.com/dereuromark/cakephp-translate/wiki#cakephp-version-map).\n\nWARNING: Not fully upgraded yet, help needed!\n\n## Key features\n- Import from POT, PO files or any service/API.\n- Web-based and without external dependencies.\n- Translate strings in all languages simultaneously.\n- Allow others to help translating without having to know technical details.\n- Auto-Translate and Auto-Suggest with Translate APIs (e.g. Google Translate PHP/JS, Yandex, ...) for efficiency.\n\n## Benefits over normal PO editing\n- Prevent duplicates, missing translations, collisions.\n- Auto-Features like `trim()`, `h()`, newlines to `\u003cp\u003e/\u003cbr\u003e`, espacing of `%s`.\n- Validate placeholders (`{0}`, `%s`, ...).\n- Preview and code excerpts of references.\n- Auto-Add Controller names (singular + plural).\n- Manage in Groups (=Domains) and export/enable/disable them.\n- Creates clean PO files with all translations in usage to easier diff changes.\n\n## Included translation services via APIs\n\n- Google (free, limited)\n- Yandex (free, limited)\n- Transltr (free)\n\nAdd your translation engine here [in a heartbeat](docs#add-your-own-implementation).\n\n## Installation\nIncluding the plugin is pretty much as with every other CakePHP plugin:\n\n```bash\ncomposer require dereuromark/cakephp-translate\n```\n\nThen, to load the plugin run the following command:\n\n```sh\nbin/cake plugin load Translate -b -r\n# If you haven't loaded the Tools plugin already\nbin/cake plugin load Tools -b -r\n```\n\nRoutes are needed for the backed, the bootstrap sets up a few defaults.\n\nRun this in console to create the necessary DB tables:\n```\nbin/cake migrations migrate -p Translate\n```\n\n### Recommendations\nUse `dereuromark/cakephp-queue` for larger projects to avoid timeout issues when importing PO files.\n\n\n## Usage\nWeb Backend\n- Navigate to `/admin/translate/` in your browser.\n\nCLI\n- Run `bin/cake translate`.\n\n## Tips\n- Use [TinyAuth](https://github.com/dereuromark/cakephp-tinyauth) or alike to manage access to the translation backend for user groups.\n- Implement your own Translation engine if you want to have even better auto-suggest.\n\n## Configuration and documentation\n- [Documentation](docs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdereuromark%2Fcakephp-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdereuromark%2Fcakephp-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdereuromark%2Fcakephp-translate/lists"}