Skip to content

Commit

Permalink
Create readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
devmsh authored Sep 1, 2018
1 parent 8120f18 commit 8089b9e
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Multilingual Nova

This field allow you to support multilingual index/forms/deatils CRUD using [Laravel Nova](https://nova.laravel.com) and [Spatie Translatable](https://github.com/spatie/laravel-translatable).

### Screenshots

TBD

### Install

Run this command into your nova project:
`composer require digitalcloud/multilingual-nova`

### Add it to your Nova Resource:

```php
use Digitalcloud\MultilingualNova\Multilingual;

Multilingual::make('translations'),
```

Note that "Translations" is not a database column like Most of Nova Fields, it's just a Label.

### Features

* Display supported locales in the index view
* Allow you to edit any resource in any supported locale
* NO ADDITIONAL FIELDS, just use the default laravel form fields
* Quick switch between languages in the details view
* Support Relations fields and sub tables
* Autofill form fields with default/fallback language content

### Roadmap

* [ ] Display translated/untranslated status for each locale
* [ ] List the supported locale using Config file
* [ ] Manage the supported locale using Database resource
* [ ] Autodetect translatable Models

0 comments on commit 8089b9e

Please sign in to comment.