Skip to content

Translatable makes your content translatable in defined languages (locales).

Notifications You must be signed in to change notification settings

BRACKETS-by-TRIAD/translatable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translatable

Translatable makes your content translatable in defined languages (locales). To sum up, the package:

  • publishes a config, that defines locales (languages) used in your project,
  • introduces a HasTranslations trait that makes your Eloquent model translatable (extending spatie/laravel-translatable),
  • introduces a TranslatableFormRequest class that you can use as a base class for your Request classes to extend from, which simplify the definition of the rules for translatable data.

You can find full documentation at https://docs.getcraftable.com/#/translatable