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.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/spatie--laravel-translatable--laravel-translatable commit b3b1add0d8

Frequently asked questions

npx get-skill add tomevault-io/translatable-development