You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-12Lines changed: 0 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,18 +65,6 @@ echo $post->translate('fr')->title; // Mon premier post
65
65
*[How To Build An Efficient and SEO Friendly Multilingual Architecture For Your Laravel Application](https://mydnic.be/post/how-to-build-an-efficient-and-seo-friendly-multilingual-architecture-for-your-laravel-application)
66
66
*[How to Add Multi-Language Models to Laravel QuickAdminPanel](https://quickadminpanel.com/blog/how-to-add-multi-language-models-to-laravel-quickadminpanel/)
67
67
68
-
## Add-Ons
69
-
70
-
Thanks to the community a few packages have been written using this package:
Copy file name to clipboardExpand all lines: docs/README.md
+3-16Lines changed: 3 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ This is a Laravel package for translatable models. Its goal is to remove the com
10
10
11
11
## Quick Example
12
12
13
-
### **Getting translated attributes**
13
+
### Getting translated attributes
14
14
15
15
```php
16
16
$post = Post::first();
@@ -23,7 +23,7 @@ App::setLocale('de');
23
23
echo $post->title; // Mein erster Post
24
24
```
25
25
26
-
### **Saving translated attributes**
26
+
### Saving translated attributes
27
27
28
28
```php
29
29
$post = Post::first();
@@ -36,7 +36,7 @@ $post = Post::first();
36
36
echo $post->translate('en')->title; // My cool post
37
37
```
38
38
39
-
### **Filling multiple translations**
39
+
### Filling multiple translations
40
40
41
41
```php
42
42
$data = [
@@ -55,19 +55,6 @@ echo $post->translate('fr')->title; // Mon premier post
55
55
*[How To Build An Efficient and SEO Friendly Multilingual Architecture For Your Laravel Application](https://mydnic.be/post/how-to-build-an-efficient-and-seo-friendly-multilingual-architecture-for-your-laravel-application)
56
56
*[How to Add Multi-Language Models to Laravel QuickAdminPanel](https://quickadminpanel.com/blog/how-to-add-multi-language-models-to-laravel-quickadminpanel/)
57
57
58
-
## Add-Ons
59
-
60
-
Thanks to the community a few packages have been written using this package:
0 commit comments