MicroFish/backend/app
Dominik Seemann 7f74e0a3f8 fix(i18n): translate oasis profile generator prompts to english
The oasis_profile_generator.py system prompt, both user-message
templates (individual + group personas), the context-builder section
labels embedded into the prompt context, the fallback persona templates,
and the per-batch console output banners were all written in Chinese.
Even when Accept-Language was en, the Chinese base prompt and embedded
section labels biased the LLM toward Chinese persona output.

Translate every owned prompt-assembly literal to English while
preserving all functional contracts: f-string interpolations, the
required JSON output keys, the gender/age literal-token rules, the
get_language_instruction() postfix call sites, the _normalize_gender
mapping (which still accepts Chinese gender keys from upstream),
and the rule-based country: "中国" data default. Logger calls,
docstrings, and inline comments are out of scope (issues #6 / #7)
and were not touched.

Closes #25
2026-05-07 23:36:42 +00:00
..
api feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
models feat(i18n): replace hardcoded Chinese in backend SSE progress messages 2026-04-01 16:32:10 +08:00
services fix(i18n): translate oasis profile generator prompts to english 2026-05-07 23:36:42 +00:00
utils feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
__init__.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
config.py feat(graphiti): finalize neo4j migration with provider switch 2026-05-07 08:43:36 +00:00