* Add Spanish localization and persistent GUI language preferences to MemHub
Co-authored-by: Cursor <cursoragent@cursor.com>
* Extend MemHub Spanish localization to the remaining GUI screens
Move the copy of Applications, memory space and map, matters, workbench,
call history, handoff and arrival panels into shared contracts catalogs.
- Merge domain catalogs without silent overrides: a key shared by two
catalogs must have identical Chinese and Spanish texts.
- Add Spanish singular variants (`.one`) and count helpers that keep the
Chinese numbers exactly as they were rendered before.
- Build the Spanish connection prompt from a catalog template; MCP and
shell snippets are inserted verbatim, the Chinese prompt is unchanged.
- Word host failures at render time so a language switch re-words them.
- Unknown text, names, paths and error codes pass through untranslated;
unknown graph node types and edge origins keep their previous labels.
- Add catalog parity, interpolation, adapter and regression tests.
* feat(memhub): add Chinese English Spanish localization
Co-authored-by: Nicolas Pirello <nicoalepirello@gmail.com>
Co-authored-by: kristinhe <kristinhe@tencent.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
* style(memhub): satisfy Node workspace lint
Co-authored-by: Cursor <cursoragent@cursor.com>
* test(memhub): align localization fixtures with current keys
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Nicolas Pirello <nicoalepirello@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: alvinfei <alvinfei@tencent.com>
Co-authored-by: kristinhe <kristinhe@tencent.com>