Skip to content
jernejp edited this page Dec 20, 2012 · 5 revisions

This is a placeholder page for how to translate yaai into other languages.

See here https://github.com/blak3r/yaai/issues/97#issuecomment-11548274 for some discussion notes about how to translate in the meantime.

  1. Find your language File Location 'custom/modules/Asterisk/language/'
  2. Copy the Original English Language File 'en_us.lang'
  3. Rename it to the language you need Example de_de.lang or ru_ru.lang
  4. Open the File, looks something like this.
'Incoming call', 'ASTERISKLBL_GOING_OUT' => 'Outgoing call', 'ASTERISKLBL_DENY' => 'Decline', 'ASTERISKLBL_OPEN_CONTACT' => 'Open Contact', 'ASTERISKLBL_OPEN_MEMO' => 'Open Memo', 'ASTERISKLBL_PHONE' => 'Phone', 'ASTERISKLBL_NAME' => 'Name', 'ASTERISKLBL_COMPANY' => 'Account', 'REQUESTED' => 'Proceeding', 'PROCEEDING' => 'Proceeding', 'RINGBACK' => 'Waiting for Answer', 'INCOMING' => 'Ringing', 'RINGING' => 'Ringing', 'CONNECTED' => 'Connected', 'DIAL' => 'Ringing', 'HANGUP' => 'Finished', // Added in v2.2 'ASTERISKLBL_DURATION' => 'Duration', 'ASTERISKLBL_SELECTCONTACT' => 'Select Contact', 'ASTERISKLBL_MULTIPLE_MATCHES' => "Multiple Matches", 'ASTERISKLBL_CALLERID' => 'CallerID', // For asteriskLogger.php SOAP call entries 'CALL_AUTOMATIC_RECORD' => '** Automatic record **', 'CALL_IN_LIMBO' => 'In Limbo', 'CALL_STATUS_HELD' => 'Held', 'CALL_STATUS_MISSED' => 'Missed', 'CALL_NAME_CALL' => 'CALL', 'CALL_NAME_MISSED' => 'Missed Call', 'CALL_DESCRIPTION_CALLER_ID' => 'Caller ID', 'CALL_DESCRIPTION_MISSED' => 'Missed/failed call', 'CALL_DESCRIPTION_PHONE_NUMBER' => 'Phone Number' ); ?>
  1. Only translate the strings on the right side of => and save it. Do NOT translate variable names like 'CALL_NAME_CALL'!!!
  2. Make sure that the language File has the same name like the one installed in SugarCRM
Clone this wiki locally