laravel-frontend-presets / tall

A TALL (Tailwind CSS, Alpine.js, Laravel and Livewire) Preset for Laravel
MIT License
2.43k stars 204 forks source link

Enable translations by default #14

Closed pktharindu closed 1 year ago

Wulfheart commented 4 years ago

grafik

12.

imliam commented 4 years ago

Please merge this, it just adds i18n in the exact same way as the Tailwind preset and the default Laravel preset already do.

There's been a discussion in #12 about translation support out-of-the-box that I want to get a working copy of before merging this. The Tailwind and default presets may use this translation method, but it's not the best way to translate for a multitude of reasons.

danharrin commented 1 year ago

I think an approach similar to #15 is much better, since it allows for contextual translation instead of using the English as default. Thank you for the PR though.