Commit Graph
18 Commits
Author SHA1 Message Date
Juho Hiltunen c83d9f19f2 yue: new language yue-latn-jyutping
yue-latn-jyutping assumes latin characters are jyutping.
2021-05-16 20:09:34 +03:00
Juho Hiltunen 4825905835 cmn: handle latin characters as English text.
cmn now handles all latin characters as English.

The old functionality of assuming latin characters are pinyin can be
achieved with new language cmn-Latn-pinyin.
2021-05-16 19:23:34 +03:00
Juho Hiltunen d91b7cf288 Rename zh (Mandarin) to cmn across the codebase.
See discussion in #933.
2021-05-11 20:14:54 +03:00
Juho Hiltunen 875174c3e9 Rename zhy (Cantonese) to yue across the codebase.
See discussion in #933.
2021-05-11 19:19:55 +03:00
Juho Hiltunen bda8b6f76a code cleanup: remove unnecessary voice option translator
See commit message for 23a4d88f.

This commit fixes cmn and yue.
CalcPitches_Tone() now accepts cmn for translator_name.
SelectTranslator() now has a case for yue instead of zhy.
2021-03-08 18:18:14 +02:00
Juho Hiltunen d260562b7e Revert "code cleanup: remove unnecessary voice option translator"
This reverts commit 23a4d88f6b.

Breaks tests for cmn.
2021-03-07 13:34:05 +02:00
Juho Hiltunen 23a4d88f6b code cleanup: remove unnecessary voice option translator
Option "language <name>"already causes SelectTranslator(<name>) to be
called. Having two options to do almost the same thing is unnecessary
and confusing.

In the long term, all options from SelectTranslator() should have a
switch case in LoadVoice() so they are user configurable (see #218). If
needed, a new option (maybe called "LoadOptions") could be added to load
an existing voice or language file.

Changes language configuration files for: hak, cmn, yue, ltg, ms, mb-ma1.
No changes to users.
2021-03-07 12:58:23 +02:00
Valdis Vitolins 966c07cb56 hak: updates from Chen Chien-ting 2018-01-11 18:32:33 +02:00
Valdis Vitolins 75e42d6870 hak: Initial support added for Hakka Chinese by Chen Chien-ting 2017-12-29 12:46:42 +02:00
Valdis Vitolins 60e9e3ebcb Fix for issue #338: Chinese Cantonese dictionary (zhy_dict) problem 2017-11-26 15:19:43 +02:00
Valdis Vitolins 64fdabc76f More configuration fixes for Myanmar language 2017-11-12 23:28:50 +02:00
Reece H. Dunn e12abb4244 Rename the mni language to bpy to denode the actual Manipuri language supported. 2017-03-20 18:38:25 +00:00
Reece H. Dunn 13413c3ed9 Fix the build from the previous voice changes. 2017-02-06 19:02:20 +00:00
Reece H. Dunn 1678a63a4e yue: remove the non-standard 'zhy' language code and make 'zh' a lower priority alternative 2017-02-06 07:41:39 +00:00
Reece H. Dunn b4357b668c cmn: use 'cmn' as the primary language, with 'zh-cmn' and 'zh' as alternatives 2017-02-06 07:40:00 +00:00
Reece H. Dunn 36a2872b4b Don't allow the gender property to be set in language files (they are only relevant in voice files). 2017-02-05 19:56:07 +00:00
Reece H. Dunn 1a8624ffdb Use the language names in the 'name' field, not a shorthand or other identifier. 2017-02-05 16:52:33 +00:00
Reece H. Dunn 285e88c720 Move the language files to espeak-ng-data/lang. 2017-02-04 17:06:22 +00:00