xiCO2k / laravel-vue-i18n

Allows to connect your `Laravel` Framework translation files with `Vue`.
MIT License
621 stars 51 forks source link

Ability to split language file into multiple objects #16

Closed MeesPos closed 2 years ago

MeesPos commented 2 years ago

Is it possible to divide a translation file into multiple objects. So as an example: "home": { "header": { "test": "test" }, "description": "description" }, "about-me": { "test": "test" } }

And that you can then call those keys with $t('home.header.test')?

If this isn't possible yet, isn't that an idea for a new feature?

xiCO2k commented 2 years ago

@MeesPos will be working to add a loader to transform the php lang files into json