Papanikles / avalanche-rt

Automatically exported from code.google.com/p/avalanche-rt
Other
2 stars 0 forks source link

I hope avalanche-rt can improve the support of chinese character very soon,as what i can do ,I have completed the translation of Simplified Chinese :) #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
when i download a torrent that contains filename in chinese(see attach. 1)

What is the expected output? What do you see instead? Did you get an error
message, if so what?
What the expected output is just like waht in the rurtorrent (see attach. 3)
but i see attach. 1 instead.
there is not any error message displayed.

What version of Avalanche are you using? What version of Apache? What about
your operating system?
the vision of avalanche-rt is "r49 svn" (see attach. 2)
Apache:
Server version: Apache/2.2.14 (Ubuntu)
Server built:   Apr 13 2010 19:28:27

Please provide any additional information below.
I very like this project due to the graceful UI,as a chinese student i often 
download files from the PrivateBT server in CRENET with IPV6,most of the 
torrents contain the filename in chinese.
I think this project will grow up very soon,and i think should contribute 
something。so I have completed the translation of Simplified Chinese :)
(see attach. 4)
hope it is useful for you!
my web-name is ihipop and my blog is http://ihipop.info
if you need some help just contact  me !
best wishes!

Original issue reported on code.google.com by ihi...@gmail.com on 9 Aug 2010 at 12:13

Attachments:

GoogleCodeExporter commented 8 years ago
this is some pic that i have translateed。

Original comment by ihi...@gmail.com on 9 Aug 2010 at 12:17

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for your feedback ihipop, I will be working on better support for 
alternative languages in the new version. If you want to contribute 
translations, you can have a look at this: 
http://code.google.com/p/avalanche-rt/source/browse/trunk/lang/en-gb.json which 
is the standard translation pack Avalanche uses. Simply replace all the english 
stuff in quotes with Chinese, and attach the file here and I will add it in and 
credit you.

Thanks

Original comment by keitha...@gmail.com on 10 Aug 2010 at 12:28

GoogleCodeExporter commented 8 years ago
i have attached it,see attach. no.4 which is named "zh-cn.json "
in my issue

Original comment by ihi...@gmail.com on 10 Aug 2010 at 12:32

GoogleCodeExporter commented 8 years ago
Apologies, so you did. I will get this implimented and credit you. How would 
you like to be credited? Please provide a name and a website url (optional) to 
be credited.

Original comment by keitha...@gmail.com on 10 Aug 2010 at 12:35

GoogleCodeExporter commented 8 years ago
Just as what it is mentioned in my issue:
"my web-name is ihipop and my blog is http://ihipop.info"

Original comment by ihi...@gmail.com on 10 Aug 2010 at 12:38

GoogleCodeExporter commented 8 years ago
Hi, ihipop, I'm pretty sure Avalanche-rt can correctly display Chinese, see 
attached screenshot.

You need `encoding_list = utf-8` in ~/.rtorrent.rc file.

For more info see http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide and 
http://blog.codingnow.com/2008/10/rtorrent.html

Original comment by azu...@gmail.com on 19 Sep 2010 at 7:43

Attachments:

GoogleCodeExporter commented 8 years ago
i really had do it !!!
if without `encoding_list = utf-8` in ~/.rtorrent.rc file,in other webGUI 
such as rur ,the  Chinese character can't  show correctly at all!
the version of avalanche-rt I‘m Useing is  r49 svn 
and you?

Original comment by ihi...@gmail.com on 19 Sep 2010 at 7:52

GoogleCodeExporter commented 8 years ago
rur means rutorrent

Original comment by ihi...@gmail.com on 19 Sep 2010 at 7:56

GoogleCodeExporter commented 8 years ago
I'm using my own fork of Avalache-rt, based on svn r47(see 
http://code.google.com/p/avalanche-rt/issues/detail?id=10). And I don't think 
r48 and r49 commits would break Chinese character display.

Maybe you're facing the same problem as 云风 described in his blog 
post(http://blog.codingnow.com/2008/10/rtorrent.html). RTtorrent will work only 
if the torrent file specify a correct utf-8 file 
name(http://libtorrent.rakshasa.no/ticket/1479#comment:1).

All your torrents that contain Chinese character do not work? Or only some of 
them?

It's weird that for the same torrent Avalanche-rt can't display correctly but 
ruTorrent can.

Will you please upload the torrent file here(if it's publicly available), in 
case someone can have a deep look at it.

Original comment by azu...@gmail.com on 19 Sep 2010 at 1:50

GoogleCodeExporter commented 8 years ago
All my torrents that contain Chinese character do not work。it is exactly 
right in Avalache-rt,but in other webGUIs such as  rutorrent,with 
`encoding_list = utf-8` in ~/.rtorrent.rc file,they work well with my chinese 
named torrents。
i don‘t think that what i'm facing is different with the  problem as 云风 
described in his blog post.
 i know that it is really  weird 。
i cant upload the torrents in public polace ,because i download them From the 
Private BT (PT) site in CERNET in IPV6 network,which contain my Private 
PassKey,which is very important to me。
but if in private case,i can pass the torrents to you ONLY!
BTW:when a file is bigger than 2GB,Avalache-rt could not display the correct 
size,but,rutorrent can。 Does it weird? The files contain in the 
torrents from PT of IPV6 is really huge,so that it is very common for them to 
reach the size ..

Original comment by ihi...@gmail.com on 19 Sep 2010 at 2:33

GoogleCodeExporter commented 8 years ago
a spell mistake
line 3 should be:
i don  think that what i'm facing is different with the  problem as 云风 
described in his blog post.

Original comment by ihi...@gmail.com on 19 Sep 2010 at 2:36