<br><br><div class="gmail_quote">On Fri, Oct 8, 2010 at 8:18 PM, Peter P GMX <span dir="ltr">&lt;<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I tried to install this, but I failed so far<br>
    [ERR] switch_ivr_play_say.c:113 Can&#39;t find language de.<br>
    [WARNING] switch_ivr_play_say.c:339 Macro [voicemail_hello]: &#39;&#39; did<br>
not match any patterns<br>
<br></blockquote></div><br><br>well, you didn&#39;t load mod_say_de<br><br>i have EN, DE, FR, HR, IT, RU languages working fine<br><br><br><br>anyhow, to add a new language<br><br>edit freeswitch.xml and add your language within phrase section<br>
<br>e.g.:<br><br>  &lt;section name=&quot;phrases&quot; description=&quot;Speech Phrase Management&quot;&gt;<br>    &lt;macros&gt;<br><span style="color: rgb(255, 0, 0);">      &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;lang/de/*.xml&quot;/&gt;</span><br>
      &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;lang/en/*.xml&quot;/&gt;<br>      &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;lang/fr/*.xml&quot;/&gt;<br>      &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;lang/it/*.xml&quot;/&gt;<br>
      &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;lang/hr/*.xml&quot;/&gt;<br>      &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;lang/ru/*.xml&quot;/&gt;<br>    &lt;/macros&gt;<br>  &lt;/section&gt;<br><br>
<br>go to:<br>/usr/local/freeswitch/conf/lang<br><br>and create a directory ... e.g. de in your case<br><br>change directory to de (cd de) and copy files from another language e.g. en. <br><br>cp -r ../en/* .<br><br>than rename en.xml into de.xml.<br>
<br>[tculjaga@cxss01 de]$ mv en.xml de.xml<br>edit the xml file in order to fit your needs.<br><br>here is my version:<br><br>[tculjaga@cxss01 de]$ cat de.xml <br>&lt;include&gt;<br>  &lt;language name=&quot;de&quot; sound-path=&quot;$${sounds_dir}/de/de/helge/&quot; tts-engine=&quot;cepstral&quot; tts-voice=&quot;callie&quot;&gt;<br>
    &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;demo/*.xml&quot;/&gt;<br>    &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;vm/sounds.xml&quot;/&gt; <br>    &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;dir/sounds.xml&quot;/&gt; <br>
    &lt;!-- &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;ivr/ivr_funcs.xml&quot;/&gt; --&gt;<br>  &lt;/language&gt;<br>&lt;/include&gt;<br><br>demo/*.xml<br>vm/sounds.xml<br>dir/sounds.xml<br>ivr/ivr_functions.xml<br>
<br>these are files containing macros you will later use in dialplan. You need to have them consistent across all the languages.<br><br>when you done this, its time for your voice files.<br>go to:<br>/usr/local/freeswitch/sounds<br>
<br>copy the directory structure form another language e.g.  en, wipe the *.wav files and copy your own files of course with the same naming!<br><br>build and load mod_say_de and thats it ...<br><br><br><br>hope it helps!<br>
<br><br><br><br><br><br><br>