This pull request improves the installation section of the documentation by adding details regarding the undocumented $localeKey and the $translationModel attributes defined inside the Astrotomic\Translatable\Translatable trait.
There's a reference to these attributes under the FAQ section of the documentation, but honestly: who reads the FAQ?
This pull request can ease a developer's life by cutting the required time to query a search engine for questions like (Laravel translations eloquent - How to specify a different name and locale key for the translation model ?)
This pull request improves the installation section of the documentation by adding details regarding the undocumented
$localeKey
and the$translationModel
attributes defined inside theAstrotomic\Translatable\Translatable
trait.There's a reference to these attributes under the FAQ section of the documentation, but honestly: who reads the FAQ?
This pull request can ease a developer's life by cutting the required time to query a search engine for questions like (Laravel translations eloquent - How to specify a different name and locale key for the translation model ?)