diff --git a/changelog/4024.fixed.md b/changelog/4024.fixed.md new file mode 100644 index 000000000..7654cbdf5 --- /dev/null +++ b/changelog/4024.fixed.md @@ -0,0 +1 @@ +- Fixed `Language` enum values (e.g. `Language.ES`) not being converted to service-specific codes when passed via `settings=Service.Settings(language=Language.ES)` at init time. This caused API errors (e.g. 400 from Rime) because the raw enum was sent instead of the expected language code (e.g. `"spa"`). Runtime updates via `UpdateSettingsFrame` were unaffected. The fix centralizes conversion in the base `TTSService` and `STTService` classes so all services handle this consistently.