Closed pyrou closed 1 week ago
Under some circonstance we want to preview some data in language that are not the current one. But however want to benefit the fallback mechanism.
This PR add ability to specify the locale we want.
Model::query()->withTranslation("de")->get();
As the param is optional, this PR doesn't include breaking changes
https://github.com/Astrotomic/laravel-translatable/releases/tag/v11.14.0
Under some circonstance we want to preview some data in language that are not the current one. But however want to benefit the fallback mechanism.
This PR add ability to specify the locale we want.
As the param is optional, this PR doesn't include breaking changes