This repository was archived by the owner on Apr 22, 2024. It is now read-only.
  
  
  - 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 40
 
Default Locale Messages #191
Copy link
Copy link
Open
Labels
Status: Review NeededRequest for review commentsRequest for review comments
Description
Module versions:
- Vue CLI: 4.x
 vue-cli-plugin-i18n: 2.x
To Reproduce
Steps to reproduce the behavior:
- Create e new Vue app using the CLI
 - Install the Vue I18n plugin
 - Enable SFC I18n
 - View i18n report to see warnings about missing & unused i18n messages
 - View browser console to see warning about missing i18n message
 
Expected behavior
The installation creates a default file in the locale directory for the default locale. A component is also created, with an i18n block, with a translated string and a call to $t within the template to show this translated string.
All translated string keys should match however, the key created in the default locale file is different to that in the i18n block and the template section.
Additional context
As the key/value is in the SFC i18n block, then the component shows the string correctly however, there are still warnings produced due to the mismatch in data.
Metadata
Metadata
Assignees
Labels
Status: Review NeededRequest for review commentsRequest for review comments
