Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brackets-by-triad/translatable
Translatable makes your content translatable in defined languages (locales).
https://github.com/brackets-by-triad/translatable
Last synced: about 1 month ago
JSON representation
Translatable makes your content translatable in defined languages (locales).
- Host: GitHub
- URL: https://github.com/brackets-by-triad/translatable
- Owner: BRACKETS-by-TRIAD
- Created: 2017-09-06T12:42:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T11:08:14.000Z (10 months ago)
- Last Synced: 2024-11-08T14:52:25.327Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 35.2 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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