[Koha] Install Chinese language for 3.14.3

Anthony Mao maolins at gmail.com
Wed Feb 26 16:27:10 NZDT 2014


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 at 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-prog-v-3006000.po
> wget
> http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-i-staff-t-prog-v-3006000.po
> wget
> http://translate.koha-community.org/export/314/zh_TW/zh-Hans-TW-opac-bootstrap.po
> 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,printf
>
> Regards,
> Bernardo
>
>
>
>
> --
> Bernardo Gonzalez Kriegel
> bgkriegel at gmail.com
>
>
> On Sun, Feb 23, 2014 at 11:06 PM, Chris Cormack <chris at bigballofwax.co.nz>
> wrote:
>>
>> On 24 February 2014 15:02, Anthony Mao <maolins at 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_OPAC_and_INTRANET_staff_client
>> >
>> > 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-3006000.po
>> > $ sudo wget
>> > http://translate.koha-community.org/zh_TW/314/zh-Hans-TW-i-staff-t-prog-v-3006000.po
>> > $ 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 at 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)


More information about the Koha mailing list