outline what this is and how to contribute
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5923 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6b614f7de3
commit
433067f30a
|
@ -0,0 +1,19 @@
|
|||
What are these files?
|
||||
|
||||
These files outline the various phrases used in the mod_say_xx.c modules.
|
||||
Most of these will require matching mod_say_xx.c files to actually use along
|
||||
with the recorded sound files in the various languages. phrase.pl can be used
|
||||
to automatically generate or verify all the files exist for a particular
|
||||
language. If you are capable of recording each language please do so and
|
||||
contribute them to the project. As phrases are added, the files will need to be
|
||||
updated for the respective phrase_xx.xml file.
|
||||
|
||||
How can you contribute?
|
||||
|
||||
You can contribute via patches posted to the mailing list or at
|
||||
http://jira.freeswitch.org, if possible please record the sound files
|
||||
for testing. We also need voicemail_xx.xml macros updated for each language.
|
||||
|
||||
Thanks,
|
||||
Brian West
|
||||
FreeSWITCH.org
|
|
@ -6,7 +6,7 @@
|
|||
use XML::Simple;
|
||||
use Data::Dumper;
|
||||
|
||||
my $ref = XMLin("phrase_en.xml");
|
||||
my $ref = XMLin("phrase_fr.xml");
|
||||
|
||||
foreach $language ( sort keys %{$ref}) {
|
||||
foreach $item ( sort keys %{$ref->{$language}}) {
|
||||
|
@ -16,7 +16,7 @@ foreach $language ( sort keys %{$ref}) {
|
|||
foreach $foo (@{$ref->{$language}->{$item}->{$element}}) {
|
||||
print "filename: $language/$item/$foo->{filename} contains phrase \"$foo->{phrase}\"\n";
|
||||
# insert command to verify or generate files here
|
||||
system("swift -o $language/$item/$foo->{filename} \"$foo->{phrase}\"");
|
||||
system("swift -n Isabelle -o $language/$item/$foo->{filename} \"$foo->{phrase}\"");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue