Greek Translation of rutorrent

das329717

Member
May 25, 2018
928
0
16
Hi there, guys..
I have seen that there is no translation for rutorrent in Greek language.
So I have started creating a translation in Greek. Not a very easy task I must admit, since there are a lot of torrent specific words which either cannot be translated in Greek, or won't make sense if they are translated cheesy.gif
Anyways, I am at about 80% translating the main js file.
Plugins are to follow after that...
If there are any users from Greece in this forum and are willing to give it a try, I am attaching the el.js file I have translated so far. Please keep in mind that in order to make the Greek language selectable you must add it in file lang/langs.js:
Open lang/langs.js
Find
Code:
var AvailableLanguages =
{
cs:'Český',
da:'Danske',
de:'Deutsch',In a new line, after, add:
Code:
el:'Greek',Save the file and the Greek language will be accessible from settings. You may need to set appropriate permissions to the file, too
You will also need to create el.js files for every plugin, too. Just copy the en.js file so that an el.js file exists there and don't throw errors.
Don't blame me if anything goes wrong. Before doing anything be sure that you can undo it if something goes wrong

P.S.: Instead of
Code:
el:'Greek',you can put
Code:
el:'Ελληνικά',P.P.S.: File is not completely translated. Untranslated parts are in English.Main lang file is complete. Any corrections are welcome.. wink.gif I am also attaching a screenshot with greek translation
 

Attachments

das329717

Member
May 25, 2018
928
0
16
New attachment added (13/04/2012 - 00:30) --->Main lang file translated 100%. A lot of corrections were made.
 

somus1735

Member
May 25, 2018
833
0
16
Are you ready to support your translation? If yes - i will give to you access to repository.
 

das329717

Member
May 25, 2018
928
0
16
Hi, Somus1735..
I assume that you mean I should make changes whenever changes are made in the language files. I believe yes but please don't do anything yet.
I'll let you know in a few days!
 

somus1735

Member
May 25, 2018
833
0
16
I add templates for greek localization + translated main file to repository (of course, i will remove its, if you don't want this).
 

das329717

Member
May 25, 2018
928
0
16
OK, applied the changes in translation...
I have a problem, though..
If I change to Greek and try to hit Options button It does not open and I get in the log:
Code:
S error: [http://myseedboxaddress/svn/rutorrent/js/jquery.js : 5867] TypeError: $$("unpack_enabled") is nullIf I disable plugin unpack I then have:
Code:
JS error: [http://myseedboxaddress/svn/rutorrent/js/jquery.js : 4814] TypeError: $$("history_addition") is nullI disable plugin history and then I get:
Code:
JS error: [http://myseedboxaddress/svn/rutorrent/js/jquery.js : 3490] TypeError: tbl is null
I am sure it is not something in the plugins themselves, it is something else - simple thing i am sure..) because I remember that I had this error before, when I initially translated the files locally, and I managed to fix it...But right now I can't remember what I did to fix it..
 

somus1735

Member
May 25, 2018
833
0
16
1) Can't reproduce this, sorry.
2) Check plugins. Such situation can occur if, for example, you use third-party plugin *without* file el.js in the lang directory. Try to disable all plugins.
 

das329717

Member
May 25, 2018
928
0
16
OK, I will look into it...
The thing is that in svn/rutorrent where this error occurs, it is just a clean installation, straight from svn..
I guess, just to make sure, I will delete all from there and download again from svn...
 

das329717

Member
May 25, 2018
928
0
16
OK, I found what was wrong.... me lolll
The svn co I had performed a while ago did not include the plugins..
So, everytime I performed svn update, I thought that the plugins where getting updated, too.
As a result, since the plugins were not updated, the el.js files were not there, thus resulting to the error..
It is working as it should, now... no errors...
 

das329717

Member
May 25, 2018
928
0
16
A quick question...
Some notices popup - see screenshot (they actually contain the same stuff as the log)
They go away after a few seconds...
Are they supposed to be the "Desktop notifications", or there something wrong?
It has not happened now, it is happening since yesterday (I believe I first saw them after I got a clean copy from svn), but failed to mention them..
Just for the record, though, in history plugin it said that my browser does not support desktop notifications (I am using FF 15.0.1)
So I install a plugin for this, now history plugin showed that it does support desktop notifications and I pressed the button to enable them.. I see nothing different, though...
 

dsouvik215

Member
May 25, 2018
896
0
16
This hasn't relation to the desktop notifications. All, what you see in this popups, you also may see in the "Log" window. All difference - with popups you may see errors and warnings without switching to the "Log" window. If you don't need this popups - disable plugin "_noty".
 

das329717

Member
May 25, 2018
928
0
16
Oh, OK, I see
Seems useful, especially in the case "Autoswitch to 'Log' tab" is unchecked.
It seemed a bit strange to me because I have "Autoswitch to 'Log' tab" checked, so I was seeing those stuff twice, lol... tongue.gif
 

jith45

Member
May 25, 2018
960
0
16
I thought about adding some more strings in order to make the whole stuff fully localized
The place where I see hardcoded stuff in a large scale, is only the "Advanced" tab in settings
The problem is that I am not even sure what most of those settings mean, lol..
So, If you like and have some spare time, I am attaching the strings here for translation in english..
I have added translation for some stuff - If I have mistakes please correct me:
Quote
hash_interval = Hash Interval?? (For what?)
hash_max_tries = Hash max tries
hash_read_ahead
http_cacert = Http Certficate
http_capath = Path to http certficate
max_downloads_div
max_uploads_div
max_file_size = Max file size (Of what?)
preload_type
preload_min_size
preload_required_rate
receive_buffer_size = Receive buffer size (applies to data packets???)
send_buffer_size = Send buffer size (applies to data packets???)
safe_sync = Safe sync
timeout_safe_sync = Safe sync timeout
timeout_sync
scgi_dont_route
session = Path to session directory
session_lock = Lock session
session_on_completion
split_file_size
split_suffix
use_udp_trackers = Use UDP trackers
http_proxy = Use http proxy
proxy_address = Http proxy IP address
bind = Bind (what??)​

smiley.gif
 

dsouvik215

Member
May 25, 2018
896
0
16
Oh, OK, I see..
To be honest, it seemed a little strange that all that stuff was left untranslated, lolll cheesy.gif cheesy.gif
I guess not even something like mouse hover explanation should be done, then...