AUR4000
Error Message
AUR4000: Translation key not found
Description
This error occurs when the i18n system cannot find a translation for the requested key in any of the loaded translation resources. This typically happens when:
The translation key doesn't exist in the current locale's translation files
The translation files haven't been loaded properly
There's a typo in the translation key
The fallback locale doesn't contain the key either
Common Scenarios
Missing Translation Key
// Translation file (en.json)
{
"welcome": "Welcome",
"goodbye": "Goodbye"
}
// Template usage
<template>
<p>${'hello' & t}</p> <!-- AUR4000: 'hello' key doesn't exist -->
<p>${'welcome' & t}</p> <!-- ✅ Works fine -->
</template>Typo in Translation Key
Solutions
1. Add the Missing Translation Key
2. Verify Translation Files Are Loaded
3. Use Fallback Values
4. Check Key Existence Programmatically
Debugging Tips
Check Console: Look for i18n loading errors in browser console
Verify File Structure: Ensure translation files are in the correct location
Test Key Existence: Use browser dev tools to check loaded translations
Fallback Locale: Ensure fallback locale contains all necessary keys
Last updated
Was this helpful?