Skip to content

media-code/laravel-nova-translation-editor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEZE REPOSITORY NIET VERWIJDEREN, WORDT GEBRUIKT ALS TRANSLATION MANAGER IN VERSCHILLENDE PROJECTEN.

Laravel Nova Translation Editor

This is the Laravel Nova Tool for managing translations. It's still work in progress.

You can view all the translations. Clicking on string you can edit it and save. The mutlilevel arrays in lang files are currently not working. So if you have idea on how to solve it. Please make a pull request.

It depends on spatie/laravel-translation-loader

So first you need to install it and set it up. Then add this Tool.

Installation

composer require eboye/laravel-nova-translation-editor

Usage

Publish Config

Publish config file and add any of the files you have in resource/lang/ folder

php artisan vendor:publish --provider="Eboye\LaravelNovaTranslationEditor\ToolServiceProvider"

config/trans_editor.php looks like this:

<?php
return [
    'auth'
];

Just add any of the lang files you need.

Screenshots

screenshot 1

About

Laravel Nova Translation Editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 47.6%
  • PHP 44.3%
  • HTML 4.9%
  • JavaScript 3.1%
  • CSS 0.1%