Diff from version 260 to 261 (current)
@@ -3,18 +3,29 @@ |
!!HOW TO GET YOUR NEW LANGUAGE ADDED TO THE ASTERISK DISTRIBUTION | As of October 2009, it is possible for new languages to be added to Asterisk if you or your company is willing to have the recordings made and then contribute them under the Creative Commons license. They will then appear in the menus of different languages which can be selected at build time. Find these instructions for details and procedures: [http://svn.digium.com/view/asterisk/trunk/doc/lang/language-criteria.txt?view=markup] Everyone who has submitted a language below is encouraged to re-package their sound files for addition. Questions can be sent to John Todd (jtodd@digium.com) regarding language additions. | | -!!Installation | * Use language= in a .conf file, or use the ((Asterisk func channel|CHANNEL(language) function)) (1.4+) resp. the SetLanguage() application in extensions.conf | -* Place the voice prompts into a directory structure as follows (usually within /var/lib/asterisk/: | + | +{maketoc} | + | +!! Asterisk 1.4+ | + | +* Place the voice prompts into a directory structure as follows (usually within /var/lib/asterisk/): | +** sounds/xx | +** sounds/xx/digits | +** sounds/xx/letters | +** sounds/xx/phonetic | + | +Make sure you put 'languageprefix=yes' in your /etc/asterisk/asterisk.conf file, so that Asterisk will use this new file layout. | + | +!! Asterisk 1.2 | + | +NOTE: The file structure for 1.2 is different than for 1.4: | + | ** sounds/xx | ** sounds/digits/xx | ** sounds/letters/xx | ** sounds/phonetic/xx | where xx is the two letter ISO code of the language in question (nl, fr, de, it, pt, es ...) | -{maketoc} | - | -__NOTE: The file structure for 1.4 is different than for 1.2!__ | -Asterisk 1.4 supports a new layout for sound files in multiple languages; instead of the alternate-language files being stored in subdirectories underneath the existing files (for French, that would be digits/fr, letters/fr, phonetic/fr, etc.) the new layout creates one directory under /var/lib/asterisk/sounds for the language itself, then places all the sound files for that language under that directory and its subdirectories. This is the layout that will be created if you select non-English languages to be installed via menuselect, HOWEVER Asterisk does not default to this layout and will not find the files in the places it expects them to be. If you wish to use this layout, make sure you put 'languageprefix=yes' in your /etc/asterisk/asterisk.conf file, so that Asterisk will know how the files were installed. | | !!!Arabic | * [http://www.westany.com/arabic_voice_prompts|Female Arabic voice prompts for Asterisk & Freeswitch from Westany] - Personalised voice Prompts can be recorded by the same voice artist from 9.97 each. |
|
|
User | Comment | Time | Version |
---|
humbertodiogenes | | 2013-04-29 19:38 | 261 |