Steve Underwood wrote:
>>
> As well as a last resort fallback, some intermediate steps are highly 
> desirable. For example, falling back from Latin Spanish, through 
> Castillian Spanish to English as a last resort makes a lot more sense 
> than falling back straight from Latin Spanish to English. Using locale 

Chopping the country code off the end, eg. truncating de_CH to simply 
de, and then searching for any installed de_* langauges, should achieve 
this. Only use en_US as a truly last resort.

> before falling back to some dialect of English. However, if you try that 
> with Chinese you might be falling back from Mandarin to Cantonese, which 
> are about as much alike as French and English (same ancient roots, but 
> massive current day differences). I'm not sure if that is a serious 
> deficiency or not, but it is something to consider.

This has already been asked by other people, and possible workarounds 
suggested here http://www.loc.gov/standards/iso639-2/faq.html#24
_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Reply via email to