10 months ago

Working with translations

Posted 10 months ago by sktklaus

Hi everyone,

what would be the best way to go through a multi-language Vue SPA.

Laravel can handle 'locale' just fine, but passing all the translations to Vue in a simple way to use, like t(key).

and what about the database structure, I thought about having a table for translations and a polymorphic Translatable. So every data I need to store would have a relationship saying its language.

Thanks, Klaus

Please sign in or create an account to participate in this conversation.