Skip to content

Commit 0b0eb33

Browse files
committed
add a note in documentation
1 parent 9a6e535 commit 0b0eb33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class Post extends Model
6868

6969
> **NOTE**: The `TRANSLATABLE_ATTRIBUTES` constant or the `getTranslatableAttributes` method return value can be either a string or an array of the model attribute names.
7070
71+
**Defining translatable attributes is optional, but it is recommended to define them.**
7172

7273
### Create a translation
7374
Now, you can create translations for the model attributes through the defined relations:

0 commit comments

Comments
 (0)