LightRAG/logs/2025-01-25-16-35-beastmode-translation-fix.md

900 B

Task Log: Translation Keys Fix

Date: 2025-01-25 16:35 Mode: beastmode

Actions

  • Added 7 missing translation keys to all 5 locale files (en, zh, zh_TW, fr, ar)
  • Keys added: loading, loadingHint, emptyWithPipelineTitle, emptyWithPipelineDescription, scanForDocuments, viewPipeline, emptyHint
  • Validated JSON syntax for all translation files

Decisions

  • Used contextually appropriate translations for each language
  • Added translations to documentPanel.documentManager namespace to match existing structure

Next Steps

  • Refresh the browser to see the translated text instead of raw keys
  • Verify all translation keys display correctly in Documents panel

Lessons/Insights

  • Translation keys were referenced in DocumentManager.tsx but never added to locale JSON files
  • i18n fallback returns the key itself when translation is missing, causing the display issue