Translatable Development

Use when working with spatie/laravel-translatable. Trigger when the query mentions translatable models, translations, multi-language attributes, the HasTranslations trait, the #[Translatable] attribute, or storing translations as JSON on Eloquent models. Tasks include making a model translatable, writing migrations for translatable columns, setting translations for specific locales, getting translations (with or without fallbacks), querying by locale, handling missing translations, and testing translatable behavior.

spatie Updated
Picture from the README

File contents

spatie/laravel-translatable commit b448a14236

Frequently asked questions

npx get-skill add spatie/translatable-development