Install Chinese language for 3.14.3
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.po -rw-r--r-- 1 root root 15553 2月 24 09:45 zh-Hans-TW-pref.po While I open 127.0.0.1:8080 Home > Administration > system preference Choose I18N/L10N, The references of language and opaclanguages have no Chinese-TW, but English(en) only. -- Wishing you all the best. . . . Anthony Mao 毛慶禎 +886 2 29052334 (voice) + 886 2 29017405 (FAX)
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
Anthony, First, your download links are not right, they are wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-i-opac-t-pro... wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-i-staff-t-pr... wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-opac-bootstr... wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-opac-ccsr.po wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-pref.po Second, after the update you need to run the command indicated by Chris Third, enable zh-Hans-TW on language system preference It works well (http://snag.gy/9qCmB.jpg) But there are a couple of errors on some files, please check http://translate.koha-community.org/zh_TW/314/translate.html#filter=checks,p... Regards, Bernardo -- Bernardo Gonzalez Kriegel bgkriegel@gmail.com On Sun, Feb 23, 2014 at 11:06 PM, Chris Cormack <chris@bigballofwax.co.nz>wrote:
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 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Thanks to Bernardo and Chris. Also fix few po files errors. Bernardo, could you check my zh-Hans-TW po files again for me. I use this command check 5 po files. msgfmt -c <file.po> It seems have no error anymore. 2014-02-24 10:28 GMT+08:00 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>:
Anthony,
First, your download links are not right, they are
wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-i-opac-t-pro... wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-i-staff-t-pr... wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-opac-bootstr... wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-opac-ccsr.po wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-pref.po
Second, after the update you need to run the command indicated by Chris
Third, enable zh-Hans-TW on language system preference It works well (http://snag.gy/9qCmB.jpg)
But there are a couple of errors on some files, please check http://translate.koha-community.org/zh_TW/314/translate.html#filter=checks,p...
Regards, Bernardo
-- Bernardo Gonzalez Kriegel bgkriegel@gmail.com
On Sun, Feb 23, 2014 at 11:06 PM, Chris Cormack <chris@bigballofwax.co.nz> wrote:
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 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Wishing you all the best. . . . Anthony Mao 毛慶禎 +886 2 29052334 (voice) + 886 2 29017405 (FAX)
Anthony, no errors at all :-) Bernardo -- Bernardo Gonzalez Kriegel bgkriegel@gmail.com On Wed, Feb 26, 2014 at 12:27 AM, Anthony Mao <maolins@gmail.com> wrote:
Thanks to Bernardo and Chris.
Also fix few po files errors. Bernardo, could you check my zh-Hans-TW po files again for me. I use this command check 5 po files. msgfmt -c <file.po> It seems have no error anymore.
2014-02-24 10:28 GMT+08:00 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com
: Anthony,
First, your download links are not right, they are
wget
http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-i-opac-t-pro...
wget
http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-i-staff-t-pr...
wget
http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-opac-bootstr...
wget
http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-opac-ccsr.po
wget http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-pref.po
Second, after the update you need to run the command indicated by Chris
Third, enable zh-Hans-TW on language system preference It works well (http://snag.gy/9qCmB.jpg)
But there are a couple of errors on some files, please check
http://translate.koha-community.org/zh_TW/314/translate.html#filter=checks,p...
Regards, Bernardo
-- Bernardo Gonzalez Kriegel bgkriegel@gmail.com
On Sun, Feb 23, 2014 at 11:06 PM, Chris Cormack <
chris@bigballofwax.co.nz>
wrote:
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 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Wishing you all the best. . . .
Anthony Mao 毛慶禎 +886 2 29052334 (voice) + 886 2 29017405 (FAX)
participants (3)
-
Anthony Mao -
Bernardo Gonzalez Kriegel -
Chris Cormack