Skip to content

Commit

Permalink
Testing localized Android voices
Browse files Browse the repository at this point in the history
Support for English, French and Spanish localizations for now
related to #24
  • Loading branch information
HadrienGardeur committed May 16, 2024
1 parent d87392a commit 9318f4f
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 2 deletions.
5 changes: 5 additions & 0 deletions json/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@
"label": "Veu catalana",
"name": "catalan España",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"Catalan Spain",
"catalan Espagne",
"catalán España"
],
"language": "ca-ES",
"rate": 1,
"pitch": 1,
Expand Down
5 changes: 5 additions & 0 deletions json/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,11 @@
"label": "Deutsche Stimme",
"name": "deutsch Deutschland",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"German Germany",
"allemand Allemagne",
"alemán Alemania"
],
"language": "de-DE",
"rate": 1,
"pitch": 1,
Expand Down
12 changes: 10 additions & 2 deletions json/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1333,8 +1333,12 @@
},
{
"label": "US voice",
"name": "english United-States",
"name": "English United States",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"anglais États-Unis",
"inglés Estados Unidos"
],
"language": "en-US",
"rate": 1,
"pitch": 1,
Expand All @@ -1345,8 +1349,12 @@
},
{
"label": "UK voice",
"name": "english Great Britain",
"name": "English United Kingdom",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"anglais Royaume-Uni",
"inglés Reino Unido"
],
"language": "en-GB",
"rate": 1,
"pitch": 1,
Expand Down
8 changes: 8 additions & 0 deletions json/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,10 @@
"label": "Voz de España",
"name": "español España",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"Spanish Spain",
"espagnol Espagne"
],
"language": "es-ES",
"rate": 1,
"pitch": 1,
Expand All @@ -909,6 +913,10 @@
"label": "Voz de Estados Unidos",
"name": "español Estados Unidos",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"Spanish United States",
"espagnol États-Unis"
],
"language": "es-US",
"rate": 1,
"pitch": 1,
Expand Down
8 changes: 8 additions & 0 deletions json/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,10 @@
"label": "Voix française",
"name": "français France",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"French France",
"francés Francia"
],
"language": "fr-FR",
"rate": 1,
"pitch": 1,
Expand All @@ -726,6 +730,10 @@
"label": "Voix canadienne",
"name": "français Canada",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"French Canada",
"francés Canadá"
],
"language": "fr-CA",
"rate": 1,
"pitch": 1,
Expand Down
5 changes: 5 additions & 0 deletions json/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,11 @@
"label": "Voce italiana",
"name": "italiano Italia",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"Italian Italy",
"italien Italie",
"italiano Italia"
],
"language": "it-IT",
"rate": 1,
"pitch": 1,
Expand Down
10 changes: 10 additions & 0 deletions json/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,11 @@
"label": "Nederlandse stem (Nederland)",
"name": "nederlands Nederland",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"Dutch Netherlands",
"néerlandais Pays-Bas",
"neerlandés Países Bajos"
],
"language": "nl-NL",
"rate": 1,
"pitch": 1,
Expand All @@ -406,6 +411,11 @@
"label": "Nederlandse stem (België)",
"name": "nederlands België",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"Dutch Belgium",
"néerlandais Belgique",
"neerlandés Bélgica"
],
"language": "nl-BE",
"rate": 1,
"pitch": 1,
Expand Down
10 changes: 10 additions & 0 deletions json/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,11 @@
"label": "Voz do Portugal",
"name": "português Portugal",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"Portuguese Portugal",
"portugais Portugal",
"portugués Portugal"
],
"language": "pt-PT",
"rate": 1,
"pitch": 1,
Expand All @@ -461,6 +466,11 @@
"label": "Voz do Brasil",
"name": "português Brasil",
"note": "On Android, voice selection is only supported at a system level and Web Speech API doesn't return a true list of voices available, just a list of languages and regions",
"altNames": [
"Portuguese Brazil",
"portugais Brésil",
"portugués Brasil"
],
"language": "pt-BR",
"rate": 1,
"pitch": 1,
Expand Down

0 comments on commit 9318f4f

Please sign in to comment.