[Freeswitch-users] Language Handling: call for assistance

Michael Jerris mike at jerris.com
Thu Jul 2 16:58:17 PDT 2009


On Jul 2, 2009, at 7:50 PM, Steve Underwood wrote:

>>
> If by "the usual way" you mean the standard 2 + 2 letter codes we are
> used to on computers, that just doesn't work. As I said before, those
> are for written languages, not spoken languages. There are no standard
> codes for many spoken languages. For example, the standard codes for
> Chinese are zh_cn for mainland China, zh_tw for Taiwan, zh_hk for Hong
> Kong. However, in GuangDong you will probably want to offer  
> Cantonese as
> well as Mandarin voice prompts, so you will want a zh_gd, or  
> something,
> which you won't find among the standard 2 + 2 letter codes. That's why
> the SSML people had a hard time coming up with a language scheme, and
> SSML 1.0 didn't even reference one. The more you look around the  
> world,
> the most complex the issue of language variants becomes. If you don't
> face that at the beginning it just gets messier later on.
>
> Steve

Do we know that the language model at least always pairs with the  
first 2 letter code?  So zh_* we can use mod_say_zh for?  or do we  
need to address different language rules for different dialects as well?

Mike





More information about the FreeSWITCH-users mailing list