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.

Support formatFallbackMessages

See original GitHub issue

Is there an option to support extracting translations when using formatFallbackMessages: true as documented in vue-i18n fallback documentation?

At the moment $t("Hello World. Have a nice day!") will get extracted to:

"Hello World": {
  " Have a nice day!": ""
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
pixaricommented, Oct 2, 2020

I’ll have a look at it soon.

0reactions
Spittalcommented, Sep 1, 2021

Hey this is solved in 2.0.0! There is also now a test to validate this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support formatFallbackMessages · Issue #72 · Spittal/vue-i18n ...
Is there an option to support extracting translations when using formatFallbackMessages: true as documented in vue-i18n fallback ...
Read more >
Fallbacking - Vue I18n - Intlify
These warning messages are output to support debugging using Vue I18n. ... Set formatFallbackMessages: true to do template interpolation on ...
Read more >
Fallback localization | Vue I18n
Summary: Set formatFallbackMessages: true to do template interpolation on translation keys when your language lacks a translation for a key.
Read more >
intlify Not found 'message' key in 'en' locale using laravel vue ...
i am trying to create multi-language application using laravel with Vue 3 i18n and laravel mix, but i keep getting not found key...
Read more >
i18n component does not work with formatFallbackMessages #779
i18n component does not work with formatFallbackMessages #779. oppianmatt posted onGitHub ... What potential bugs and edge cases does it help to avoid?...
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