On 24 February 2014 15:02, Anthony Mao <maolins@gmail.com> wrote:
Hi,
I need your help to install Chinese language for 3.14.3
After install 3.14.3 from http://sourceforge.net/projects/koha-latest/ successfully. Install Chinese language for Ubuntu successfully too.
I could work fine under English interface.
However, refer to fellowing procedures, I could not make Chinese interface. Could someone give me a tip.
Installation of additional languages for OPAC and INTRANET staff client, http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for...
I did fellowing commands:
$ koha-translate --list en $ koha-translate --list --available including zh-Hans-TW $ cd /usr/share/koha/misc/translator/po There are several po files for differenct languages including: zh-Hans-TW-i-opac-t-prog-v-3006000.po zh-Hans-TW-i-staff-t-prog-v-3006000.po zh-Hans-TW-opac-bootstrap.po zh-Hans-TW-opac-ccsr.po zh-Hans-TW-pref.po
I remove the Chinese po files
$ sudo rm zh-Hans-TW*
and get fresh ones:
$ sudo wget http://translate.koha-community.org/zh_TW/314/zh-Hans-TW-i-opac-t-prog-v-300... $ sudo wget http://translate.koha-community.org/zh_TW/314/zh-Hans-TW-i-staff-t-prog-v-30... $ sudo wget http://translate.koha-community.org/zh_TW/314/zh-Hans-TW-opac-bootstrap.po $ sudo wget http://translate.koha-community.org/zh_TW/314/zh-Hans-TW-opac-ccsr.po $ sudo wget http://translate.koha-community.org/zh_TW/314/zh-Hans-TW-pref.po
$ ls -l -rw-r--r-- 1 root root 15647 2月 24 09:44 zh-Hans-TW-i-opac-t-prog-v-3006000.po -rw-r--r-- 1 root root 15653 2月 24 09:44 zh-Hans-TW-i-staff-t-prog-v-3006000.po -rw-r--r-- 1 root root 15602 2月 24 09:44 zh-Hans-TW-opac-bootstrap.po -rw-r--r-- 1 root root 15576 2月 24 09:44 zh-Hans-TW-opac-ccsr.pozh-Hans-TW -rw-r--r-- 1 root root 15553 2月 24 09:45 zh-Hans-TW-pref.po
After you got these files did you generate the templates? koha-translate --install zh-Hans-TW You have to create the templates from the po files, before they will show in the interface to be picked Hope this helps Chris