The sample project was developed with Laravel 5.
- Laravel 5.5 (LTS)
- PHP 7.0+
- mySQL
- Project clone.
- Composer :
$ composer install
- Database Configure : '.env'
- Migrate Create :
$ php artisan migrate
- Seed Run :
$ php artisan db:seed
- ... or Sql Dump :
localization-manager.sql
- User ("/"):
[email protected] - 123456
- Admin ("/admin") :
[email protected] - 123456
Languages
- GET : /api/v1/languages
Locale
- GET : /api/v1/locale/{project_id}/{version?}/{language_code?}/{keyword?}
Example :
- /api/v1/locale/1/filter?keyword=web
- /api/v1/locale/1/filter?keyword=web&version=0.0.3
- /api/v1/locale/1/filter?keyword=web&version=0.0.3&language_code=en
- laravelcollective/html
- maatwebsite/excel
resources/lang/...
define language under directory: EN-DE-RUconfig/app.php
change line: 'locale' => 'en'