xiCO2k / laravel-vue-i18n

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

feat: Add `fallbackLang` option #38

Closed xiCO2k closed 2 years ago

xiCO2k commented 2 years ago

This PR adds the capability to use the fallbackLang option.

If the lang was not provided or it does not exist, it will try to get from the fallbackLang option.

If the fallbackLang was not provided the default is: en.

Closes #36