Skip to content

Translation Traits ​

Two traits handle multi-locale content. HasTranslation provides full translation storage backed by astrotomic/laravel-translatable. IsTranslatable is a lightweight detection helper.

TraitDescription
HasTranslationMulti-locale content via astrotomic/laravel-translatable with Modularous overrides
IsTranslatableSingle-method helper that detects whether a model uses translations