{"id":18928894,"url":"https://github.com/laravel-backpack/translation-manager","last_synced_at":"2026-01-07T12:14:46.518Z","repository":{"id":230592437,"uuid":"776507721","full_name":"Laravel-Backpack/translation-manager","owner":"Laravel-Backpack","description":"UI for the admin to quickly translate multi-language Laravel applications.","archived":false,"fork":false,"pushed_at":"2025-03-10T13:12:41.000Z","size":82,"stargazers_count":43,"open_issues_count":4,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-05T17:55:18.896Z","etag":null,"topics":[],"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/Laravel-Backpack.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"license.md","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":"2024-03-23T17:46:30.000Z","updated_at":"2025-03-31T04:02:25.000Z","dependencies_parsed_at":"2024-04-19T11:49:07.129Z","dependency_job_id":"4384f2b1-3a7a-4de5-89bb-9c80fe47960a","html_url":"https://github.com/Laravel-Backpack/translation-manager","commit_stats":null,"previous_names":["laravel-backpack/language-manager","laravel-backpack/translation-manager"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laravel-Backpack%2Ftranslation-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laravel-Backpack%2Ftranslation-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laravel-Backpack%2Ftranslation-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Laravel-Backpack%2Ftranslation-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Laravel-Backpack","download_url":"https://codeload.github.com/Laravel-Backpack/translation-manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441042,"owners_count":20939239,"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":"2024-11-08T11:28:35.891Z","updated_at":"2026-01-07T12:14:46.477Z","avatar_url":"https://github.com/Laravel-Backpack.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Translation Manager\n\n[![Total Downloads][ico-downloads]][link-downloads]\n[![The Whole Fruit Manifesto](https://img.shields.io/badge/writing%20standard-the%20whole%20fruit-brightgreen)](https://github.com/the-whole-fruit/manifesto)\n\nTranslation Manager provides a simple user interface to help you deal with translations in your Backpack application.\nAt a quick glance, some of the most relevant features are:\n\n- View a list of all translations present in your application's language files.\n- Edit translations directly from the interface.\n- Search and filter translations for easy management.\n\nThis package uses the battle tested [spatie/laravel-translation-loader](https://github.com/spatie/laravel-translation-loader) under the hood.\n\n## Preview\n\n![lm_list_view](https://github.com/Laravel-Backpack/language-manager/assets/1032474/a60b3204-e3f7-48f2-bb83-e300b01da481)\n\n## Demo\n\nTry it right now, edit some translations in [our online demo](https://demo.backpackforlaravel.com/admin/translation-manager).  \n\n## Installation\n\nIn your Laravel + Backpack project:\n\n**1) Install the package using Composer**:\n\n```bash\ncomposer require backpack/translation-manager\n```\n\n**2) Configure the application**\n\n\u003e _If you already had [spatie/laravel-translation-loader](https://github.com/spatie/laravel-translation-loader) installed and configured, you can skip to the next step. Otherwise, follow along._\n\n2.1) In your `config/app.php` you must replace Laravel's translation service provider:\n\n```diff\n-Illuminate\\Translation\\TranslationServiceProvider::class,\n+Spatie\\TranslationLoader\\TranslationServiceProvider::class,\n```\n\n2.2) You must publish and run the migrations to create the `language_lines` table:\n```bash\nphp artisan vendor:publish --provider=\"Spatie\\TranslationLoader\\TranslationServiceProvider\" --tag=\"migrations\"\nphp artisan migrate\n```\n\n**3) Optional setup options**\n\n3.1) Add a menu item to `menu_items.blade.php` for easy access:\n\n```bash\nphp artisan backpack:add-menu-content \"\u003cx-backpack::menu-item title=\\\"Translation Manager\\\" icon=\\\"la la-stream\\\" :link=\\\"backpack_url('translation-manager')\\\" /\u003e\"\n```\n\n3.2) Publish the config files:\n\n```bash\nphp artisan vendor:publish --provider=\"Spatie\\TranslationLoader\\TranslationServiceProvider\" --tag=\"config\"\nphp artisan vendor:publish --provider=\"Backpack\\TranslationManager\\AddonServiceProvider\" --tag=\"config\"\n```\n\n**NOTE:** We highly recommend you to use this package alongside [Language Switcher](https://github.com/Laravel-Backpack/language-switcher) package, so that you can easily switch between languages in your panel.\n\n\n## Usage\n\n### List View:\n\n![lm_list_view2](https://github.com/Laravel-Backpack/language-manager/assets/1032474/f65a24ea-473d-4fec-8ffc-b8137bcb1b9f)\n\nThe list view displays a comprehensive list of all translations within your application translation folder (usually `lang/`). Please do note that translations in `lang/vendor/xxx` folders are not possible to translate using this package.\n\nAdditionally, if you have [Backpack Pro](https://backpackforlaravel.com/products/pro-for-unlimited-projects) installed, your admin can also see and use the filters, to quickly narrow down translations.\n\n### Edit View\n\n![lm_edit_view](https://github.com/Laravel-Backpack/language-manager/assets/1032474/13fa216a-24e0-4a82-b949-d24124c8ee2a)\n\nAny translation can be edited by clicking the Edit button. It will open a page where the admin can input the new value, for all languages. \n\nOnce edited, the changes are saved to the database for persistence. All translations on the database have priority over the ones in the language files. This means that you can safely let your admin edit translations, in production. Your auto-deploys will continue working, because no files get edited, only DB entries.\n\n### Editable Columns\n\n![lm_editable_columns_view](https://github.com/Laravel-Backpack/language-manager/assets/1032474/88996f7c-6807-4c54-a3f8-10ab18afaa24)\n\nIf you have the [Editable Columns](https://backpackforlaravel.com/products/editable-columns) package installed, the admin can directly edit translations within the List View. This provides an excellent UX - because they can translate everything much much faster, without having to switch pages.\n\nIf you don't want that behavior you can disable it in the `config/backpack/translation-manager.php` file by setting `use_editable_columns =\u003e false`. \nIf you don't find that file, see above the optional steps to publish the config files.\n\n## Security\n\nIf you discover any security related issues, please email cristian.tabacitu@backpackforlaravel.com instead of using the issue tracker.\n\n## Credits\n\n- [Antonio Almeida](https://github.com/promatik)\n- [Pedro Martins](https://github.com/pxpm)\n- [Cristian Tabacitu](https://github.com/tabacitu)\n- [All Contributors][link-contributors]\n\n## License\n\nThis project was released under MIT License, so you can install it on top of any Backpack \u0026 Laravel project. Please see the [license file](https://backpackforlaravel.com/products/translation-manager/license.md) for more information. \n\n[ico-version]: https://img.shields.io/packagist/v/backpack/translation-manager.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/backpack/translation-manager.svg?style=flat-square\n\n[link-author]: https://github.com/laravel-backpack\n[link-contributors]: ../../contributors\n[link-downloads]: https://packagist.org/packages/backpack/translation-manager\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-backpack%2Ftranslation-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaravel-backpack%2Ftranslation-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-backpack%2Ftranslation-manager/lists"}