多國語系編輯器

http://laravel.com/

http://kejyun.github.io/Laravel-4-Docum ... roduction/
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

多國語系編輯器

文章 yehlu »

https://github.com/barryvdh/laravel-translation-manager

代碼: 選擇全部

composer require barryvdh/laravel-translation-manager
config/app.php

代碼: 選擇全部

        Barryvdh\TranslationManager\ManagerServiceProvider::class,

代碼: 選擇全部

php artisan vendor:publish --provider="Barryvdh\TranslationManager\ManagerServiceProvider" --tag=migrations
php artisan migrate
php artisan vendor:publish --provider="Barryvdh\TranslationManager\ManagerServiceProvider" --tag=config
php artisan vendor:publish --provider="Barryvdh\TranslationManager\ManagerServiceProvider" --tag=views
config/translation-manager.php

代碼: 選擇全部

    'route' => [
        'prefix' => 'translations',
        'middleware' => [
	        'web',
	        'auth',
		],
    ],
run
http://localhost/translations
回覆文章

回到「laravel」