This article explains why the Metric Insights menus and navigation can display raw translation keys such as root.new, root.content, global_search_placeholder, or group_by_label instead of their translated labels, and how to restore the correct labels.
PREREQUISITES:
- You must be logged in as an Administrator to access Admin > System > Vocabulary.
Table of Contents
Issue Overview
Metric Insights loads all interface text from Vocabulary translation files published per language and namespace. If a required file is missing or doesn't return valid JSON, the interface falls back to showing the raw key instead of the label for the rest of that browser session.
1. Republish Vocabulary from UI Menu
Access Admin > System > Vocabulary
- Click [Publish]. Republishing the Vocabulary regenerates the translation files from the database, which resolves the missing or unreadable file that triggered the raw keys.
2. Republish Vocabulary from Command Line
If the labels do not return after republishing from the UI, republish the translation files from the web (Simple Install) or web-master (Orchestrated Deployments) container command line:
cd /opt/mi/web/backend/
php artisan translation:publish
3. Clear Browser Cache
Because the raw-key fallback persists for the current browser session, clear the browser cache and reload the page so the interface fetches the freshly published translation files.
NOTE: If the raw keys reappear after a later deployment or vocabulary change, republish the Vocabulary again from Admin > System > Vocabulary to regenerate the translation files.
See Manage Language Preferences for how the Vocabulary and language settings are configured day to day.