[Asterisk-Users] Psssst. The US is asleep - let's talk intern
ationalization !!!
Fran Boon
flavour at partyvibe.com
Fri May 14 07:01:33 MST 2004
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
More information about the asterisk-users
mailing list