]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6269 d0543943-73ff-0310...
authorBrian West <brian@freeswitch.org>
Wed, 14 Nov 2007 21:21:09 +0000 (21:21 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 14 Nov 2007 21:21:09 +0000 (21:21 +0000)
conf/lang/fr/demo/demo.xml [new file with mode: 0644]
conf/lang/fr/fr.xml [new file with mode: 0644]
conf/lang/fr/vm/sounds.xml [new file with mode: 0644]

diff --git a/conf/lang/fr/demo/demo.xml b/conf/lang/fr/demo/demo.xml
new file mode 100644 (file)
index 0000000..3b2edac
--- /dev/null
@@ -0,0 +1,18 @@
+<include><!--This line will be ignored it's here to validate the xml and is optional -->
+<macro name="msgcount">
+  <input pattern="(.*)">
+    <match>
+      <action function="play-file" data="tuas.wav"/>
+      <action function="say" data="$1" method="pronounced" type="items"/>
+      <action function="play-file" data="messages.wav"/>
+    </match>
+  </input>
+</macro>
+<macro name="timeleft">
+  <input pattern="(\d+):(\d+)">
+    <match>
+      <action function="speak-text" data="il y a $1 minutes et de $2 secondes de restant"/>
+    </match>
+  </input>
+</macro>
+</include><!--This line will be ignored it's here to validate the xml and is optional -->
diff --git a/conf/lang/fr/fr.xml b/conf/lang/fr/fr.xml
new file mode 100644 (file)
index 0000000..40c038f
--- /dev/null
@@ -0,0 +1,7 @@
+<include>
+  <language name="fr" sound-path="/snds" tts-engine="cepstral" tts-voice="david">
+    <X-PRE-PROCESS cmd="include" data="demo/demo.xml"/>
+    <!--voicemail_fr_tts is purely implemented with tts, we need a files based implementation too -->
+    <X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/>
+  </language>
+</include>
diff --git a/conf/lang/fr/vm/sounds.xml b/conf/lang/fr/vm/sounds.xml
new file mode 100644 (file)
index 0000000..2f11c5e
--- /dev/null
@@ -0,0 +1,210 @@
+<include><!--This line will be ignored it's here to validate the xml and is optional -->\r
+  <macro name="voicemail_enter_id">\r
+    <input pattern="(.*)">\r
+      <match>\r
+       <action function="speak-text" data="Entrez votre Identification, suivi par $1."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_enter_pass">\r
+    <input pattern="(.*)">\r
+      <match>\r
+       <action function="speak-text" data="Entrez votre code, suivi par $1."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_fail_auth">\r
+    <input pattern="(.*)">\r
+      <match>\r
+       <action function="speak-text" data="Identification incorrect."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_hello">\r
+    <input pattern="(.*)">\r
+      <match>\r
+       <action function="speak-text" data="Bienvenu sur votre répondeur."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_goodbye">\r
+    <input pattern="(.*)">\r
+      <match>\r
+       <action function="speak-text" data="Aurevoir."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_abort">\r
+    <input pattern="(.*)">\r
+      <match>\r
+       <action function="speak-text" data="Trop de tentatives échouées."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_message_count">\r
+    <input pattern="^([^:]+):([^:]+):{0,1}(.*)">\r
+      <match>\r
+       <action function="speak-text" data="Vous avez $1 $2 message$3 dans le répertoir ${voicemail_current_folder}."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_menu">\r
+    <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">\r
+      <match>\r
+       <action function="speak-text" \r
+               data="Pour écouter les nouveaux message, tappez $1, Pour écouter les messages enregistrés, tappez $2, Pour les options avancées, tappez $3, pour sortir, tappez $4."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+\r
+  <macro name="voicemail_config_menu">\r
+    <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">\r
+      <match>\r
+       <action function="speak-text" \r
+               data="pour enregistrer un message d'accueil, tappez $1, Pour choisir votre message d'accueil, tappez $2, Pour enregistrer votre nom, tappez $3, pour retourner au menu principale, tappez $4."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+\r
+  <macro name="voicemail_record_name">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="enregistrez votre nom au bip, puis tappez une touche ou arretez de parler pour arreter l'enregistrement."/>\r
+\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_record_file_check">\r
+    <input pattern="^([0-9#*]):([0-9#*]):([0-9#*])$">\r
+      <match>\r
+       <action function="speak-text" \r
+               data="Pour écouter l'enregistrement, tappez $1, pour sauvegarder l'enregistrement, tappez $2, Pour réenregistrer, tappez $3."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_record_urgent_check">\r
+    <input pattern="^([0-9#*]):([0-9#*])$">\r
+      <match>\r
+       <action function="speak-text" \r
+               data="Pour indiquer ce messange comme étant urgent, tappez $1, Pour continuer, tappez $2."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_listen_file_check">\r
+    <input pattern="^([0-9#*]):([0-9#*]):([0-9#*]):([0-9#*])$">\r
+      <match>\r
+       <action function="speak-text" \r
+               data="Pour réécouter l'enregistrement à nouveau, tappez $1, Pour sauvegarder l'enregistrement, tappez $2,  Pour supprimer l'enregistrement, tappez $3, pour transférer l'enregistrement à votre mail, tappez $4."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_choose_greeting">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="choisissez un message d'accueil entre 1 et 3."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_choose_greeting_fail">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="valeur incorrect."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_record_greeting">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="enregistrez votre message d'accueil au bip, puis tappez une touche ou arretez de parler pour arreter l'enregistrement."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_record_message">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="enregistrez votre message au bip, puis tappez une touche ou arretez de parler pour arreter l'enregistrement."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_greeting_selected">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="message d'accueil numero $1 selectionné."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_play_greeting">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="$1 n'est pas valide."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_say_number">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="$1"/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_say_message_number">\r
+    <input pattern="^([a-z]+):(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="$1 message numero $2."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_say_phone_number">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="$1."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_say_name">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="$1."/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_ack">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="message $1"/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+  <macro name="voicemail_say_date">\r
+    <input pattern="^(.*)$">\r
+      <match>\r
+       <action function="speak-text" data="$strftime($1|%A, %B %d %Y, %I %M %p)"/>\r
+      </match>\r
+    </input>\r
+  </macro>\r
+\r
+</include><!--This line will be ignored it's here to validate the xml and is optional -->
\ No newline at end of file