New issue 133 by anguste: Language Problem
http://code.google.com/p/ntorrent/issues/detail?id=133
Hello there,
I just want to know if it's possible to select the language used in
nTorrent other than the system locale settings. (i.e. my system is zh_CN,
and I want to use en_US anyway in nTorret.)
It would better if a document for settings is available.
Thanks!
Comment #1 on issue 133 by kei060: Language Problem
http://code.google.com/p/ntorrent/issues/detail?id=133
for now the only thing you can do is add this parameter to the execution of
nTorrent.
-Duser.language=en
if you are running linux/mac you can just edit the file nTorrent.sh to
something like this.
#!/bin/bash
BASE_PATH="`dirname $0`"
NTORRENT_CONFIG="$HOME/.ntorrent/ntorrent.properties"
cd $BASE_PATH
if [ -f $NTORRENT_CONFIG ]
then
java -Duser.language=en -Djpf.boot.config=$NTORRENT_CONFIG -jar
lib/jpf-boot.jar "$@"
else
java -Duser.language=en -jar lib/jpf-boot.jar "$@"
fi
if you are running windows, its a bit more hassle. you could either build
nTorrent from source and change launch4j settings (read launch4j
documentation on how to add jvm properties/parameters) or just create your
own shortcut which executes "java -Duser.language=en -jar lib/jpf-boot.jar"
from the nTorrent directory.
in the future, this will be implemented as a setting from within nTorrent.
I hope this helps!
alternatively you can just delete the zh_CN language file. (as en should be
default)
Thanks I think I'd take the 2nd solution.
One further question:
Is it possible to translate also the "Plugin" and "Skins" menu, i.e. in the
zh_CN settings? Idon't quite like the half English half Chinese menu (as in
the attached snapshot).
Attachments:
Capture.JPG 13.5 KB
Comment #4 on issue 133 by kei060: Language Problem
http://code.google.com/p/ntorrent/issues/detail?id=133
will do.