-
-
Notifications
You must be signed in to change notification settings - Fork 363
Description
What happened?
In version v3.5.2 of the project, the change "Migrate Localisations back to PHP Files from JSON" (#2040) removed the functionality to override custom translations by deleting the following code snippet:
_
// Override if Published
$this->loadJsonTranslationsFrom(
$this->app->langPath('vendor/livewire-tables')
);
_
Previously, this code allowed developers to load their own custom translations by overriding the default published JSON translations. Removing this functionality has made it impossible to easily use custom translations, negatively affecting projects relying on this behavior.
How to reproduce the bug
**
// Override if Published
$this->loadJsonTranslationsFrom(
$this->app->langPath('vendor/livewire-tables')
);
**
Package Version
3.5.2
PHP Version
None
Laravel Version
No response
Alpine Version
No response
Theme
None
Notes
-
Developers who customize translations can no longer use their own JSON files to override the defaults.
-
This breaks established workflows where published translations are modified to meet project-specific requirements.
Error Message
No response