Olle E. Johansson wrote:
Could we do it like this:
<languagecode>[_<countrycode>][-<fileset>]
Meaning
<languagecode>: ISO two letter language code
<countrycode>: ISO two letter country code
<fileset>: up to 8 letter code for choosing a set of files within the lang code directory
se-f�rf�r: Would look for files in the se/f�rf�r directory, use se syntax
en_au-male: Would look for files in the en_au/male, use en syntax
The language code controls the syntax used for saying phrases where we have such support
The language code + "_" + countrycode controls the directory

All sounds good - nice & flexible


In some cases, the country code *may* affect syntax too. We had a case with english vs
american english in say.c

Apart from this.
However, we can easily put in different syntaxes which match on the longer string, if required.


I think this is flexible enough. And if you want to have a us texas voice, you can freely
add it to en_tx, en_us-texmale or tx_north-female

hehe ;)


F
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to