I am having a problem in filament which is that when I add a new translation to the…
- User
I am having a problem in filament which is that when I add a new translation to the translation map it only recognizes the old translations and when I tried to use the translations I just added I get a warning translation not found.
I tired editing old translations it recognized the old value and ignored the new value,
Assistant
It sounds like you're experiencing a caching issue with Filament's translation system. When you add new translations or modify existing ones, Filament might be using cached versions of your translation files rather than the updated ones.
Try these solutions:
- Clear Laravel's cache:
php artisan cache:clear php artisan config:clear php artisan view:clear- If you're using Laravel's translation publishing, ensure translations are published:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.