You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The translation structure uses the enum class as the top-level key:
236
+
The translation structure uses the enum class as the top-level key in your translation files (default: `resources/lang/{locale}/enums.php`):
215
237
216
238
```php
217
239
use App\Enums\ContactType;
@@ -235,6 +257,9 @@ return [
235
257
];
236
258
```
237
259
260
+
**Note**: If you change the `translation_file` config to something other than 'enums', make sure to update your file names accordingly (e.g., `translations.php` if you set it to 'translations').
0 commit comments