Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 2:21 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Multilingual menu - when user is not selecting the language
PostPosted: Tue Oct 23, 2007 11:32 am 
Offline

Joined: Sat Jan 06, 2007 8:16 pm
Posts: 14
Hi,

I am having trouble with the multilanguage menu when the customer is not pressing the digit to select the language:

My choises are :

1 -- albanian
2 -- english
3 -- french

When nothing is pressed the system begins with albanian, and after that it plays the balance in english.

Everything works fine when selected the language, so IVR-s are all correct in the selected language.

Could you please suggest me what can be wrong?

regards, Artur


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 12:29 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I think you would have done better if you'd chosen '5' to represent Albanian ('4' was recently added in SVN which selects Brazilian/Portuguese).
I think your problem is the following section of code in Class.A2Billing.php, which is invoked if the language prompt returns an invalid/null option:
Code:
if (strlen($this->agiconfig['force_language'])==2) {
   $language = strtolower($this->agiconfig['force_language']);
} else {
   $language = 'en';
}


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 2:04 pm 
Offline

Joined: Sat Jan 06, 2007 8:16 pm
Posts: 14
Thank you for the reply,

In fact I am using the 1.2.3 BrainCoral Version of A2Billing. The code in Class.A2Billing.php is a little different from the one you were suggesting.

Anyway after debugging the code, I found that a2billing, select first the right language 'al', but after that it try to use the language with which the card was generated when you add customer which is "EN".

In this version of a2billing I don't have AL language in drop-down menu of web UI to select, for testing if it is a right reason.

Anyway I switched in Class.A2billing.php "al" with "en" and made the same thing cross renaming the sounds and digits folders.

After that I found everything was working correctly.

I appreciate even your first suggestion. The language syntax for albanian in spelling numbers is a little bit different from english. I am not sure brazilian is similar in that direction with albanian.

Being situated in Albania I need to make as first choice Albanian language.

Thank you for the reply.

Artur Nurja


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group