diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-09-21 19:16:23 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-09-28 17:25:28 -0400 |
commit | 70e72e01d24bd6fe1e9ef15bcf3ceeccb69e2d6b (patch) | |
tree | 6952891e98ea47b3b7b2a8d621087bf9b7340b5b /apps/lang/english.lang | |
parent | 3cc7509e815787b6f528282b0c14b4b09fa18a05 (diff) |
talk: Add support for languages that swap the tens position in numbers
For example, English would say "231" as "two hundred thirty one" but
many other languages would say "two hundred one and thirty"
So, if VOICE_NUMERIC_TENS_SWAP_SEPARATOR is not an empty string, swap
the tens and ones position and use that string ("and" in the above
example) as the voiced separator.
Change-Id: I69f8064d44b3995827327cabae6ad352bf257d04
Diffstat (limited to 'apps/lang/english.lang')
-rw-r--r-- | apps/lang/english.lang | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang index 67624aa2a3..60cb17d245 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -16080,3 +16080,17 @@ *: "Bit rate" </voice> </phrase> +<phrase> + id: VOICE_NUMERIC_TENS_SWAP_SEPARATOR + desc: voice only, for speaking numbers in languages that swap the tens and ones fields. Leave blank for languages that do not need it, such as English ("231" => "two hundred thirty one") but other languages may speak it as "two hundred one [AND] thirty" + user: core + <source> + *: "" + </source> + <dest> + *: "" + </dest> + <voice> + *: "" + </voice> +</phrase> |