Skip to content

Heuristics for localised strings #27

@JayPanoz

Description

@JayPanoz

We are trying to infer quality based on package name, then localised string, from voiceURI.

The issue is that when guessing from a localised string, using apple.json data, we cannot expect the voiceURI to be neither localised based on the voice.lang nor navigator.languages. It is indeed localised based on the system’s language.

We could check every string for every language but we have conflicting pairs. For instance, in English premium is mapped to high quality, while it is mapped to normal in French.

So we need to guess the effective locale.

We could probably try guessing from navigator.languages, then double-checking if we can find de qualité in any of the browser voices, etc. And implement something best effort.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Draft

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions