i have following files structure email templates: ~/resources/views/emails/$template.blade.php
i implement following structure fallback default locale: ~/resources/views/emails/$locale/$template.blade.php
it common issue, unfortunately can't find ready solutions. best way implement this? or perhaps there existing solutions advise?
i don't see problem here. can check if localized email exists view::exists('emails/'. $locale .'/'. $template)
, if doesn't exist load $fallback_locale
one.
Comments
Post a Comment