jan-dolata / translations_editor
Translations editor
Installs: 343
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/jan-dolata/translations_editor
Requires
- php: ~5.5|~7.0
- illuminate/support: ~5.1
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2025-11-01 03:31:31 UTC
README
Install
Via Composer
$ composer require jan-dolata/translations_editor
Add ServiceProvider to config/app.
JanDolata\TranslationsEditor\TranslationsEditorServiceProvider::class
And publish TranslationsEditor config.
$ php artisan vendor:publish --provider="JanDolata\TranslationsEditor\TranslationsEditorServiceProvider"
Check config file.
config/translations_editor.php
Change folder name resources/lang/en to resources/lang/base (for new project).
$ mv resources/lang/en resources/lang/base
Add resources/lang/xx for all used laguages to .gitignore.
ex.
/resources/lang/en
/resources/lang/de
/resources/lang/pl
If you need, use seed. Add TranslationSeeder in DatabaseSeeder.php.
$this->call(JanDolata\TranslationsEditor\Engine\TranslationSeeder::class);
Done !
Usage
Go to .../translation/get to edit your translations lines.
Before save, backup file will store in storage/app/translations.
Check that in .../translation/log page.
You can add new file to folder lang/base, it will be automatically added in editor.
Security
If you discover any security related issues, please email jan.dolata.gd@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.