{"id":43888475,"url":"https://github.com/diglin/oro-deepl","last_synced_at":"2026-02-06T16:21:11.383Z","repository":{"id":54443889,"uuid":"322094304","full_name":"diglin/oro-deepl","owner":"diglin","description":"Translation tool for OroPlatform based application using Deepl Services","archived":false,"fork":false,"pushed_at":"2023-06-08T10:06:11.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T13:55:02.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/diglin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-16T20:28:40.000Z","updated_at":"2023-06-08T10:04:12.000Z","dependencies_parsed_at":"2023-01-29T14:01:22.990Z","dependency_job_id":null,"html_url":"https://github.com/diglin/oro-deepl","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/diglin/oro-deepl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diglin%2Foro-deepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diglin%2Foro-deepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diglin%2Foro-deepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diglin%2Foro-deepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diglin","download_url":"https://codeload.github.com/diglin/oro-deepl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diglin%2Foro-deepl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29168026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T15:38:29.831Z","status":"ssl_error","status_checked_at":"2026-02-06T15:37:48.592Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-02-06T16:21:10.561Z","updated_at":"2026-02-06T16:21:11.374Z","avatar_url":"https://github.com/diglin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diglin Oro Deepl Bundle\n\nTranslation is boring ? Not anymore with the powerful helps of the machine learning tool DeepL. Thanks to this bundle, you can translate all non-translated strings from the OroPlatform database and export them into a YAML or CSV file for reuse. \n\nThe translation will take care to not translate strings with such tags: \"It could be cool if this {{ won't be translated }} or my dear %hello world% stay safe\"\n\nIf you have created translation files into your own bundles, they need to be loaded into the database before to proceed translation with Deepl. You must use the command \"oro:translation:convert\" before.\n\n## Special recommendation\n\nTranslating via DeepL API costs. So for this reason, if any problem appears while exporting. Do not run again the same command right now.\nInstead, open the ... TODO (because I have to check exactly how to proceed...)\n\n### CSV Export \n\nIn the case, a CSV file is exported, the english value is exported also and can be used for human translation or for checking translated values.\nOnce you did the check of the translation, use the command \"diglin:oro:deepl:translate:convert\" to convert the CSV into a YAML file located into the `translations` folder then it will load the content into your OroPlatform database. \nOn Production environment, you just need to let the generated files onto the `translations` folder, after your deployment, run the command `oro:platform:update --force` (do a database backup before to run it).\n\n### YAML Export\n\nThe generated file can be used one to one to be loaded into your application. OroPlatform can also load it into your database if needed (e.g. to allow backend users to edit those translations).\nSame as for the CSV export, on Production environment, you just need to let the generated files onto the `translations` folder, after your deployment, run the command `oro:platform:update --force` (do a database backup before to run it).\n\n## Installation\n\n`composer require diglin/oro-deepl`\n\n## Requirement\n\n- OroPlatform 4.x, 5.0, 5.1 (may work on previous versions but not tested)\n\n## Configuration\n\n[DeepL API Key](https://www.deepl.com/pro#developer) is required if you want to translate the strings automatically.\n- Please, go to OroPlatform Backoffice, menu `System \u003e Configuration \u003e System Configuration \u003e Integrations \u003e DeepL`\n- or provide the key via the parameter `deepl-api-key`\n- or set the key into the `var/deepl-license.key` file.\n\nIf no API Key is present, an error message will be displayed but empty translation will still be generated.\n\n## Usage examples\n\nExport empty strings of values in CSV to be translated\n\n`bin/console --env=prod diglin:oro:deepl:translate:export --format csv --disable-deepl  de_DE`\n\nExport translation into a CSV file, an english value will be available for translation check\n\n`bin/console --env=prod diglin:oro:deepl:translate:export --format csv de_DE`\n\nExport translation directly into a YAML file, existing data will be merged but overwritten if duplicate happens. The generated file will have a timestamp\n\n`bin/console --env=prod diglin:oro:deepl:translate:export --format yml de_DE`\n\nExport translation directly into a YAML file, existing data will be merged but overwritten if duplicate happens. The existing domain translation file (e.g. messages.de_DE.yml) will be overwritten.\n\n`bin/console --env=prod diglin:oro:deepl:translate:export --format yml --overwrite de_DE`\n\nTranslate only messages domain\n\n`bin/console --env=prod diglin:oro:deepl:translate:export --domains messages de_DE`\n\nCalculate the number of characters will be exported for locale de_DE, useful to estimate DeepL cost\n\n`bin/console --env=prod diglin:oro:deepl:translate:export --domains messages,jsmessages,workflows,validators,security --simulate de_DE`\n\nLoad previously generated CSV file and convert it to YAML, import it into the database and rebuild language cache without frontend interruption\n\n`bin/console --env=prod diglin:oro:deepl:translate:convert --rebuild-cache translations/messages.de_DE.csv de_DE`\n\n## Do you have a tip ?\n\nWell, we admit that `diglin:oro:deepl:translate:export` is a long command but at least it describes what it does. \nIf you prefer, you can use this shortcut instead: `d:o:d:t:e` \n\n## ROADMAP\n\n- Add translation button for backend users in different areas (CMS, products, translation management)- \n\n## License\n\nSee [MIT](LICENSE.txt) \n\n## Author\n\n* Diglin GmbH\n* [https://www.diglin.com/](https://www.diglin.com/)\n* [@diglin_](https://twitter.com/diglin_)\n* [Follow me on github!](https://github.com/diglin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiglin%2Foro-deepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiglin%2Foro-deepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiglin%2Foro-deepl/lists"}