Vue · i18n
vite-doctor/vuei18nwarnNo fix
Why it happens
Vue gives this pattern a specific contract. Staying inside that contract makes the code easier to test, refactor, and run across server and client runtimes.
Fix
Remove untranslated text, or move it to the Vue runtime/API that owns that behavior.
Example
Use translation keys
Before
<template>
<p>Welcome back</p>
</template>
After
<template>
<p>{{ t('welcomeBack') }}</p>
</template>
Verify the fix
Run only this rule after editing so the report stays focused on the diagnostic you are closing:
pnpm vite-doctor . --framework vue --rules vue/i18n/no-untranslated-text