xiCO2k / laravel-vue-i18n

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

how to use fallback locale? #36

Closed thiago-tanaka closed 2 years ago

thiago-tanaka commented 2 years ago

hello, how to configure fallback locale?

xiCO2k commented 2 years ago

We did not configure the fallbackLocale on this package, but can you provide a good use case for that?

Thanks.

thiago-tanaka commented 2 years ago

Hi, when the translation is defined, it works as expected. image

but when translation is not defined it doesn't get translation from fallback locale, like standard laravel localization does. image

xiCO2k commented 2 years ago

Will work on defaulting to that if that does not exist, thanks @thiago-tanaka.

xiCO2k commented 2 years ago

Thanks for the issue, it will be released in the version 2.0.0, probably tomorrow morning 💪

thiago-tanaka commented 2 years ago

thank you so much :)