[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-i18n
Subject:    [Asterisk-i18n] Language pack
From:       Andrej Arh <andrej.arh () agenda ! si>
Date:       2008-04-11 7:10:58
Message-ID: 200804110910.59539.andrej.arh () agenda ! si
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks Johansson, 
with your help I improved my understanding of the logic Asterisk uses. 

If I get it right:
*say.c  - default language definition file for saying numbers, dates and time
*say.conf - compiled version changes - numbers, dates and time.
*voicemail.conf - timezone definitions for the users
*zaptel.conf - time, timezone
*indications.conf - frequency settings.
*overall default language definition: sip_custom.conf  (insert  language=XY)
-this works for SIP drivers (if you use zapata drivers or something it is probably \
zapata.conf or something...

It would be great to put together a whole list and put it online somewhere so others \
may follow it. I tried to find something like this online, but didn't succeed.  I'll \
keep it updated if find something else important.


I have another question. It is about time and date. I want Asterisk to use the right \
syntax for the numbers when saying the time. (english: 38 is thirty-eight, Slovenian \
                is eight-and-thirty - similar to german and some other languages) So \
                I made changes:
***defined the si language synthax of say.c, say.conf , (just beta, as I didn't \
                include all the specialities of si language)
***set default language in sip_custom.conf to SI,
*** inserted needed files into sounds/si and sounds/digits/si

However when i dial *60 the time said is still using the english structure. 

I didn't really know what else to do about it so I change language to *de and \
overwrite the sounds/de and sounds/digits/de files... This seems to work. However my \
goal is to prepare a whole Slovene language pack (the right way) not just a hack-type \
of solution.... Anyone can help me where should I look?

I don't really know how to test saynumber, if it works correctly in slovenian \
language or not. I would probably need to write an extension, that would say certain \
number/numbers, I saw some examples in /contrib/i18n.testsuite.conf But when I copied \
it into extensions.conf it didn't really work. I also tried extensions_custom.conf.  \
I guess i am on the wrong track here or missing something important.

BTW I use Asterisk 1.4 with FreePBX 2.4

I congratulate and thank everyone who made the effort of reading this long post till \
the very end. Hope my lack of knowladge of Asterisk didn't frustrate you too much :)

Greetings!
Andrej



On Thursday 10 of April 2008 19:00:02 asterisk-i18n-request@lists.digium.com wrote:
> Send Asterisk-i18n mailing list submissions to
> 	asterisk-i18n@lists.digium.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.digium.com/mailman/listinfo/asterisk-i18n
> or, via email, send a message with subject or body 'help' to
> 	asterisk-i18n-request@lists.digium.com
> 
> You can reach the person managing the list at
> 	asterisk-i18n-owner@lists.digium.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Asterisk-i18n digest..."
> 
> 
> Today's Topics:
> 
> 1. Re: New Asterisk language - help needed (Johansson Olle E)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 10 Apr 2008 15:17:49 +0200
> From: Johansson Olle E <oej@edvina.net>
> Subject: Re: [Asterisk-i18n] New Asterisk language - help needed
> To: andrej.arh@agenda.si
> Cc: asterisk-i18n@lists.digium.com
> Message-ID: <0C8030F7-0B54-4143-B7E4-4F9E5191E804@edvina.net>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> 
> 9 apr 2008 kl. 09.59 skrev Andrej Arh:
> > Hello,
> > Maybe someone can help me, I am searching for a way to create a
> > whole new
> > language pack for Asterisk. However I can't really find any guide
> > for this.
> > I need to record all the sounds and define syntax in say.c Is there
> > something
> > else I need to do in order to successfully install completly new
> > language?
> 
> There's a say.conf and some language adoption in voicemail too.
> You might also want to check tones in zaptel and indications.conf
> 
> Good luck!
> /O
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> Asterisk-i18n mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-i18n
> 
> End of Asterisk-i18n Digest, Vol 7, Issue 2
> *******************************************



-- 
begin:vcard
fn:Andrej Arh
n:Arh;Andrej
org:Agenda Open Systems d.o.o.
adr:;;Ul. Pohorskega bataljona 49;Maribor;;2000;Slovenija
email;internet:andrej.arh@agenda.si
title:COKS
x-mozilla-html:TRUE
url:www.agenda.si
version:2.1
end:vcard


[Attachment #5 (text/html)]

<html><head><meta name="qrichtext" content="1" /></head><body \
style="font-size:10pt;font-family:Sans Serif"> <p>Thanks Johansson, </p>
<p>with your help I improved my understanding of the logic Asterisk uses. </p>
<p></p>
<p>If I get it right:</p>
<p>*say.c  - default language definition file for saying numbers, dates and time</p>
<p>*say.conf - compiled version changes - numbers, dates and time.</p>
<p>*voicemail.conf - timezone definitions for the users</p>
<p>*zaptel.conf - time, timezone</p>
<p>*indications.conf - frequency settings.</p>
<p>*overall default language definition: sip_custom.conf  (insert  language=XY)</p>
<ul type="disc"><li>-this works for SIP drivers (if you use zapata drivers or \
something it is probably zapata.conf or something...</li> <div></div></ul>
<p>It would be great to put together a whole list and put it online somewhere so \
others may follow it. I tried to find something like this online, but didn't succeed. \
I'll keep it updated if find something else important.</p> <p></p>
<p></p>
<p>I have another question. It is about <span style="font-weight:600">time and \
date.</span> I want Asterisk to use the right syntax for the numbers when saying the \
time. (english: 38 is thirty-eight, Slovenian is eight-and-thirty - similar to german \
and some other languages) So I made changes:</p> <p>***defined the si language \
synthax of say.c, say.conf , (just beta, as I didn't include all the specialities of \
si language)</p> <p>***set default language in sip_custom.conf to SI,</p>
<p>*** inserted needed files into sounds/si and sounds/digits/si</p>
<p></p>
<p>However when i dial *60 the time said is still using the english structure. </p>
<p></p>
<p>I didn't really know what else to do about it so I change language to *de and \
overwrite the sounds/de and sounds/digits/de files... This seems to work.</p> \
<p>However my goal is to prepare a whole Slovene language pack (the right way) not \
just a hack-type of solution.... Anyone can help me where should I look?</p> <p></p>
<p>I don't really know how to test saynumber, if it works correctly in slovenian \
language or not. I would probably need to write an extension, that would say certain \
number/numbers, I saw some examples in /contrib/i18n.testsuite.conf</p> <p>But when I \
copied it into extensions.conf it didn't really work. I also tried \
extensions_custom.conf.  I guess i am on the wrong track here or missing something \
important.</p> <p></p>
<p>BTW I use Asterisk 1.4 with FreePBX 2.4</p>
<p></p>
<p>I congratulate and thank everyone who made the effort of reading this long post \
till the very end. Hope my lack of knowladge of Asterisk didn't frustrate you too \
much :)</p> <p></p>
<p>Greetings!</p>
<p>Andrej</p>
<p></p>
<p></p>
<p></p>
<p>On Thursday 10 of April 2008 19:00:02 asterisk-i18n-request@lists.digium.com \
wrote:</p> <p>&gt; Send Asterisk-i18n mailing list submissions to</p>
<p>&gt; 	asterisk-i18n@lists.digium.com</p>
<p>&gt;</p>
<p>&gt; To subscribe or unsubscribe via the World Wide Web, visit</p>
<p>&gt; 	http://lists.digium.com/mailman/listinfo/asterisk-i18n</p>
<p>&gt; or, via email, send a message with subject or body 'help' to</p>
<p>&gt; 	asterisk-i18n-request@lists.digium.com</p>
<p>&gt;</p>
<p>&gt; You can reach the person managing the list at</p>
<p>&gt; 	asterisk-i18n-owner@lists.digium.com</p>
<p>&gt;</p>
<p>&gt; When replying, please edit your Subject line so it is more specific</p>
<p>&gt; than &quot;Re: Contents of Asterisk-i18n digest...&quot;</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt; Today's Topics:</p>
<p>&gt;</p>
<p>&gt;    1. Re: New Asterisk language - help needed (Johansson Olle E)</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt; ----------------------------------------------------------------------</p>
<p>&gt;</p>
<p>&gt; Message: 1</p>
<p>&gt; Date: Thu, 10 Apr 2008 15:17:49 +0200</p>
<p>&gt; From: Johansson Olle E &lt;oej@edvina.net&gt;</p>
<p>&gt; Subject: Re: [Asterisk-i18n] New Asterisk language - help needed</p>
<p>&gt; To: andrej.arh@agenda.si</p>
<p>&gt; Cc: asterisk-i18n@lists.digium.com</p>
<p>&gt; Message-ID: &lt;0C8030F7-0B54-4143-B7E4-4F9E5191E804@edvina.net&gt;</p>
<p>&gt; Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes</p>
<p>&gt;</p>
<p>&gt; 9 apr 2008 kl. 09.59 skrev Andrej Arh:</p>
<p>&gt; &gt; Hello,</p>
<p>&gt; &gt; Maybe someone can help me, I am searching for a way to create a</p>
<p>&gt; &gt; whole new</p>
<p>&gt; &gt; language pack for Asterisk. However I can't really find any guide</p>
<p>&gt; &gt; for this.</p>
<p>&gt; &gt; I need to record all the sounds and define syntax in say.c Is there</p>
<p>&gt; &gt; something</p>
<p>&gt; &gt; else I need to do in order to successfully install completly new</p>
<p>&gt; &gt; language?</p>
<p>&gt;</p>
<p>&gt; There's a say.conf and some language adoption in voicemail too.</p>
<p>&gt; You might also want to check tones in zaptel and indications.conf</p>
<p>&gt;</p>
<p>&gt; Good luck!</p>
<p>&gt; /O</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt; ------------------------------</p>
<p>&gt;</p>
<p>&gt; _______________________________________________</p>
<p>&gt; --Bandwidth and Colocation Provided by http://www.api-digital.com--</p>
<p>&gt;</p>
<p>&gt; Asterisk-i18n mailing list</p>
<p>&gt; To UNSUBSCRIBE or update options visit:</p>
<p>&gt;    http://lists.digium.com/mailman/listinfo/asterisk-i18n</p>
<p>&gt;</p>
<p>&gt; End of Asterisk-i18n Digest, Vol 7, Issue 2</p>
<p>&gt; *******************************************</p>
<p></p>
<p></p>
<p></p>
<p>-- </p>
<p>begin:vcard</p>
<p>fn:Andrej Arh</p>
<p>n:Arh;Andrej</p>
<p>org:Agenda Open Systems d.o.o.</p>
<p>adr:;;Ul. Pohorskega bataljona 49;Maribor;;2000;Slovenija</p>
<p>email;internet:andrej.arh@agenda.si</p>
<p>title:COKS</p>
<p>x-mozilla-html:TRUE</p>
<p>url:www.agenda.si</p>
<p>version:2.1</p>
<p>end:vcard</p>
<p></p>
<p></p>
</body></html>



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

Asterisk-i18n mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-i18n

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic