jan-dolata / translations_editor
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: 2024-11-15 23:01:58 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.