Skip to content

jan-dolata/translations_editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

translations_editor

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published