question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It should fallback on fallbackLocale when there's no matching locale key

See original GitHub issue

Versions:

  • 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
logaretmcommented, Feb 15, 2018

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.

0reactions
logaretmcommented, Oct 11, 2018

Haven’t had the time to address this issue. I will try to fix it in a couple of days.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found