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
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ class Post extends Model
68
68
69
69
> **NOTE**: The `TRANSLATABLE_ATTRIBUTES` constant or the `getTranslatableAttributes` method return value can be either a string or an array of the model attribute names.
70
70
71
+
**Defining translatable attributes is optional, but it is recommended to define them.**
71
72
72
73
### Create a translation
73
74
Now, you can create translations for the model attributes through the defined relations:
0 commit comments