Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
update ltm for per locale access control
authored
Apr 15, 2016
by
Vladimir Schneider
Show whitespace changes
Inline
Side-by-side
Installation.md
View page @
18740ebb
...
@@ -83,6 +83,20 @@
...
@@ -83,6 +83,20 @@
$ php artisan migrate
$ php artisan migrate
```
```
If you want to create translation tables in another database you will need to do it manually
or setup a connection name with the default database you want to use and apply the migration
to it specifically:
```bash
$ php artisan vendor:publish --provider="Vsch\TranslationManager\ManagerServiceProvider" --tag=migrations
$ php artisan migrate --database="connection_name"
```
Where `connection_name` is the name of the connection to use for the migrations. The
connection is only needed for the migration. The database name used by the translation
manager can be specified in the configuration file. See
[[Changing the database name|Configuration#changing-the-database-name]]
5.
<a
id=
"publish-config"
></a>
You need to publish the config file for this package. This will
5.
<a
id=
"publish-config"
></a>
You need to publish the config file for this package. This will
add the file
`config/laravel-translation-manager.php`
add the file
`config/laravel-translation-manager.php`
...
@@ -158,3 +172,7 @@
...
@@ -158,3 +172,7 @@
This will copy the views to your project under the
This will copy the views to your project under the
`resources/views/vendor/laravel-translation-manager` directory. See:
`resources/views/vendor/laravel-translation-manager` directory. See:
[[Modifying the default Views|Configuration#modifying-the-default-views]]
[[Modifying the default Views|Configuration#modifying-the-default-views]]
12.
By default any user who has access to the translation manager web interface can modify any
available locale. Per locale access can be enabled in the configuration file. See
[[Enabling per locale access|Configuration#enabling-per-locale-access]]