#Multilanguage
##Description
This package adds multilanguage capability to your laravel app.
The simplest method of installation is to install it as a global Composer package:
- composer require
"palmabit/multilanguage 1.0.*"
- Add to your service providers the following string:
'Palmabit\Multilanguage\MultilanguageServiceProvider'
- Run the following command:
"php artisan asset:publish"
In order to see the docs install the laravel package example app: https://github.com/Palmabit-IT/package-examples
http://<url>/api/v1/lang
response:
{
"lang": "en"
}
http://<url>/api/v1/lang/<new-lang>
response:
{
"success": true
"lang": "en"
}
http://<url>/api/v1/lang
parameters:
{
"lang": "en"
}
response:
{
"success": true
"lang": "en"
}