If you want to store translations of your models into the database, this package is for you. This is a Laravel package for translatable models. Its goal is to remove the complexity in retrieving and storing multilingual model instances. With this package you write less code, as the translations are being fetched/saved when you fetch/save your instance. If the property fallback is enabled in the configuration, then translatable will return the translation of the fallback locale for the fields where the translation is empty. This package is made to translate strings, but in general it's also able to translate numbers, bools or whatever you want to. Translatable is fully compatible with all kinds of Eloquent extensions, including Ardent. For tables already created in production, update your migrations to change the engine of the table before adding the foreign key constraint.

Features

  • Get translated attributes
  • Save translated attributes
  • Fill multiple translations
  • Laravel compatibility
  • Tutorials available
  • Translatable models

Project Samples

Categories

Database

License

MIT License

Follow Laravel-Translatable

Laravel-Translatable Web Site

Other Useful Business Software
Passwordless Authentication and Passwordless Security
Passwordless Authentication and Passwordless Security Icon
Passwordless Authentication and Passwordless Security

Identity is everything. Protect it with Duo.

It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Get a Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Laravel-Translatable!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Database Software

Registered

2022-07-20