It should fallback on fallbackLocale when there's no matching locale key
See original GitHub issueVersions:
- VueJs: 2.5.13
- Vee-Validate: 2.0.3
Steps To Reproduce:
cfg i18n
locale: 'fr-FR',
fallbackLocale: 'fr',
If you have no fr-FR
key in your i18n dictionary, vee-validate should fallback on 'fr'
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Get fallback locale when device locale strings.xml is not present
In my use case, I assume that all string keys will exist in all the strings.xml files in the app. That is to...
Read more >Fallback - i18next documentation
Doing graceful fallbacks is a core principle of i18next. This enables you to display the most accurate content possible, while not repeating content...
Read more >Fallback localization should consider language component ...
We are trying to localise our app for the German and Swiss market and have noticed a behaviour that could be improved: We...
Read more >I18n with supportedLocales and fallbackLocale configuration
In this blog post you will learn how to configure the supportedLocales and the fallbackLocale in your app's manifest to avoid '404 Not...
Read more >Locale management — Firefox Source Docs documentation
In case there's only one locale available, a list with one element will work ... of available ones that should be used in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for pointing this out, the
i18n
support is still basic but this is a simple enhancement and will try to implement it before the next release. sorry about the late response.Haven’t had the time to address this issue. I will try to fix it in a couple of days.