brackets/translatable

Make your Eloquent models and other content translated into multiple languages
268,523 8
Install
composer require brackets/translatable
Latest Version:v2.5.0
PHP:^7.2.5|^7.3.0|^8.0
Laravel:6 – 10
Older releases:5
License:MIT
Last Updated:Mar 2, 2024
Links: GitHub  ·  Packagist
Maintainer: brackets

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

Related Packages

dejwcake/craftable-translatable

Make your Eloquent models and other content translated into multiple languages

2,000 0
ericlagarda/locally

Laravel 5 User Preferred Localization

21 1
latevaweb/laravel-translatable

Laravel package to make Eloquent models attributes translatables

1,152 0
laravel-lang/locales

Basic functionality for working with localizations

8,329,540 13

Version History

Version Released PHP Laravel License
v2.5.0 ^7.2.5|^7.3.0|^8.0 6.*|7.*|8.*|9.*|10.* MIT
2.4.0 ^7.2.5|^7.3.0|^8.0 6.*|7.*|8.*|9.* MIT
2.3.0 ^7.2.5|^7.3.0|^8.0 6.*|7.*|8.* MIT
2.2.0 ^7.2.5|^7.3.0 6.*|7.*|8.* MIT
v2.1.0 ^7.2.5 6.*|7.* MIT
Pre-releases (1)
Version Released PHP Laravel License
v1.0.0-beta >=7.0.0 5.5.* MIT