fix(voice): transcribe audio using the user's preferred language

Voice notes were always recognized with a hardcoded English locale,
which broke transcription for non-English speakers. The handler now
maps the profile's `preferred_language` to a BCP-47 code and passes it
to the Google recognizer, falling back to `pt-BR`.

Also neutralizes the persona prompt so it follows the selected
language instead of forcing Brazilian Portuguese and a fixed gender,
and resets the default `preferred_language` to `pt`.
This commit is contained in:
2026-10-26 15:51:52 -03:00
parent d7f252034e
commit 854348ebeb
4 changed files with 96 additions and 10 deletions
Binary file not shown.