Page 1 of 2

[Updated 26/10/2014]Gargoyle simplified Chinese LanguagePack

Posted: Tue Oct 01, 2013 8:43 am
by cappie
Hi, guys
I translated the Gargoyle into chinese.
plugin-gargoyle-i18n-Chinese-CN.zip
plugin-gargoyle-i18n-Chinese-CN
(143.4 KiB) Downloaded 21887 times
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN_1.0.4-20141026_all.zip
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN_1.0.4-20141026_all
(25.56 KiB) Downloaded 18705 times

Re: Gargoyle simplified Chinese Language Pack

Posted: Tue Oct 01, 2013 6:08 pm
by BashfulBladder
I use a text editing program & go 1 by 1. Its boring - so thank you for doing it.

Excel - I wouldn't have thought of that, but I used LibreOffice, exported it as csv & did some awk magic. Some things I noticed:

* quotas.NA - that's a long abbreviation & its a small amount of space
* restStr.Sample & quotasStr.Sample- the text that a user enters into the box 'Mon' matches up with the abbreviation in UI.Mon, so I changed them. It won't work otherwise, but you should really test out the Quotas & Reboot pages with a schedule in there if you can.
* AM/PM - I switched the translations to the prefix, so you get 下午 10:30 like you are supposed to. Sorry, there is going to be a space there - I think.
* the makefile needs 1 line translated. This will be visible by users in the plugins page & the languages selection area. I know this is wrong, so maybe you can improve it. Just leave the ZH-CN (so even Finnish people can know what language is there) & you can translate everything else:
中文(简体)ZH-CN language strings for Gargoyle web interface

Lastly, the menu names (for each page) aren't translated. There is menu.txt & each plugin-gargoyle-* has a multi-language file that you add on to. There is a small fix I had to make that supports a language code with a dash: [ZH-CN]=Something so even if you do add them, you need to also have that 1 line fix on your router.

So from now on, no more excel files. If you don't have a gitbub account, go here: https://github.com/BashfulBladder/gargoyle
and on the bottom right download the zip file. Extract & make the changes. Zip up just SimplifiedChinese and get it to me somehow.

Very exciting (look, I wrote the whole internationalization thing). Thanks a lot for Simplified Chinese!

Here is the package & some pictures:
RAccess.png
RAccess.png (184.65 KiB) Viewed 317270 times
lang.png
lang.png (57.55 KiB) Viewed 317270 times

Re: Gargoyle simplified Chinese Language Pack

Posted: Wed Oct 02, 2013 8:35 am
by BashfulBladder
I got some of the menu text from your translations. I hope something didn't turn out to be "Wood shavings with goose intestine".

https://github.com/BashfulBladder/gargo ... af226586bc

Re: Gargoyle simplified Chinese Language Pack

Posted: Thu Oct 03, 2013 8:15 am
by cappie
I remember I translated the menus.txt
see the zip file again,I thank the menus.txt file is in chinese.
I updated Gargoyle source code to version 6338 and so glad to see the chinese language pack is in the source, I will improve it later. :)

Re: Gargoyle simplified Chinese Language Pack

Posted: Thu Oct 03, 2013 6:22 pm
by BashfulBladder
Uh - I totally missed that. You said Excel file - I worked with that. Never even noticed the folder next to it.

I fixed what I messed up. I also found a old Simplified Chinese fork of Gargoyle & used some of their translations. I changed some more things:

quotasStr.NA="不适用"; - The English "Not Applicable" can't fit in the space, but 3 Chinese glyphs work fine.
UI.sc="秒";
UI.hr="小时"; - same thing. The shorter Chinese whole word fits in fine - the fat English doesn't
UI.MB1="M 字节" - same. Not too sure about the format of this though

Re: Gargoyle simplified Chinese Language Pack

Posted: Sat Oct 05, 2013 12:33 am
by cappie
:)
hi, I’ve improve the Chinese Language Pack, adjusted some words to make the meaning more accurately.
please help to test, thanks.
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN.zip
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN source
(174.7 KiB) Downloaded 15167 times
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN_1.0.1-1_all.zip
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN_1.0.1-1_all ipk file
(24.76 KiB) Downloaded 15139 times

Re: Gargoyle simplified Chinese Language Pack

Posted: Mon Oct 07, 2013 10:05 pm
by y723157510
能提供一个tp link 4310 的i18n编译后的版本吗? 好像只更新了源码,i18n没有编译好的版本,谢谢

Tp link 4310 provides a compiled version of i18n do? Seem only to update the source code, i18n is not compiled version, thank you

Re: Gargoyle simplified Chinese Language Pack

Posted: Mon Oct 07, 2013 10:07 pm
by y723157510
BashfulBladder wrote:Uh - I totally missed that. You said Excel file - I worked with that. Never even noticed the folder next to it.

I fixed what I messed up. I also found a old Simplified Chinese fork of Gargoyle & used some of their translations. I changed some more things:

quotasStr.NA="不适用"; - The English "Not Applicable" can't fit in the space, but 3 Chinese glyphs work fine.
UI.sc="秒";
UI.hr="小时"; - same thing. The shorter Chinese whole word fits in fine - the fat English doesn't
UI.MB1="M 字节" - same. Not too sure about the format of this though
Tp link 4310 provides a compiled version of i18n do? Seem only to update the source code, i18n is not compiled version, thank you

Re: Gargoyle simplified Chinese Language Pack

Posted: Mon Oct 14, 2013 3:22 am
by shayanjameel08
I use an Excel file to translat it, is there any way to make the translation work easier

Re: Gargoyle simplified Chinese Language Pack

Posted: Sun Oct 20, 2013 7:40 am
by cappie
Gargoyle simplified Chinese Language Pack updated
translated the all js file to Chinese. :)
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN_1.0.2-1_all.zip
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN_1.0.2-1_all.ipk
(23.79 KiB) Downloaded 15582 times
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN_1.0.2_src.zip
plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN_1.0.2_src
(179.28 KiB) Downloaded 15516 times