-
Type:
Improvement
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: ARI User Portal
1. patch the file /var/www/html/recordings/includes/lang.php as the following.
{noformat}— lang.php.old 2007-12-11 09:38:20.000000000 +0800
+++ lang.php 2007-12-11 09:40:31.000000000 +0800
@@ -89,6 +89,7 @@
<form class='lang' name='lang' action=" . $_SESSION['ARI_ROOT'] . " method='POST'>
<select class='lang_code' name='lang_code' onChange=\"setCookie('ari_lang',document.lang.lang_code.value); window.location.reload();\">
<option value='en_US' " . ($_COOKIE['ari_lang']=='en_US' ? 'selected' : '') . ">English</option>
+ <option value='zh_TW' " . ($_COOKIE['ari_lang']=='zh_TW' ? 'selected' : '') . ">Traditional Chinese</option>
<option value='es_ES' " . ($_COOKIE['ari_lang']=='es_ES' ? 'selected' : '') . ">Español</option>
<option value='fr_FR' " . ($_COOKIE['ari_lang']=='fr_FR' ? 'selected' : '') . ">French</option>
<option value='de_DE' " . ($_COOKIE['ari_lang']=='de_DE' ? 'selected' : '') . ">German</option>{noformat}
2. create a directory
#mkdir -p /var/www/html/recordings/locale/zh_TW/LC_MESSAGES
3. copy the attached translation file ari-zh_TW.po to the directory above then rename it as ari.po .
4. change ownership as asterisk
#chown -R asterisk:asterisk /var/www/html/recording/locale/zh_TW
5. Finish