mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-12 20:45:20 +02:00
feat(podcast): curated common languages data
This commit is contained in:
parent
7b30a76856
commit
87be162d78
1 changed files with 33 additions and 0 deletions
33
surfsense_backend/app/podcasts/voices/data/languages.py
Normal file
33
surfsense_backend/app/podcasts/voices/data/languages.py
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
"""Curated languages offered when a roster has wildcard (any-language) voices.
|
||||
|
||||
OpenAI-style multilingual voices speak whatever language the text is in, so
|
||||
there is no provider list to enumerate. This is the set the brief form offers
|
||||
up front for such providers; it is an offering, not a limit — the API flags
|
||||
``allows_custom`` so users can enter any BCP-47 tag beyond it.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
COMMON_LANGUAGES: tuple[str, ...] = (
|
||||
"ar",
|
||||
"bn",
|
||||
"de",
|
||||
"en",
|
||||
"es",
|
||||
"fr",
|
||||
"hi",
|
||||
"id",
|
||||
"it",
|
||||
"ja",
|
||||
"ko",
|
||||
"nl",
|
||||
"pl",
|
||||
"pt",
|
||||
"ru",
|
||||
"sw",
|
||||
"th",
|
||||
"tr",
|
||||
"uk",
|
||||
"vi",
|
||||
"zh",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue