billp* Posted October 31, 2007 Report Share Posted October 31, 2007 thanks Link to comment Share on other sites More sharing options...
bumblebee Posted November 3, 2007 Report Share Posted November 3, 2007 Did your developer developing language localizations?i hope i finish my localization on English and Russian languages in few days.. Link to comment Share on other sites More sharing options...
manolovvcarol Posted November 4, 2007 Report Share Posted November 4, 2007 1 C Link to comment Share on other sites More sharing options...
bumblebee Posted November 4, 2007 Report Share Posted November 4, 2007 I've finished it now this package containing English language as default and russian as addition. User don't need to swith language. it determined from browser system language automatically. Just replace your webui.zip with this one http://rapidshare.com/files/67486441/webui.zip and try it. Feel free post here if you found any incorrect translation or bug in it. In future i plan to make translation in Ukrainian. I don't know any other langs but solution is to make "hard" translation -- look in utorrent.exe with one lang and translate WEBUI or if you have some free time you can post here what lang you can translate - i'll give you English translation file which you will translate.. Hope it's all. Link to comment Share on other sites More sharing options...
ceres Posted November 5, 2007 Report Share Posted November 5, 2007 I've added the italian translation.Replace your webui.zip with this: http://ceres.divxmania.it/webui.zip Link to comment Share on other sites More sharing options...
bumblebee Posted November 5, 2007 Report Share Posted November 5, 2007 Very good. Works fine? I'm now adding Ukrainian.. BTW someone knows how to detect laguage of uTorrent from WebIU ?Here it is.. http://rapidshare.com/files/67704995/webui.zip I'm deleting old oneBTW. found 2 bugs in localisation and added string "Loading..."ceres, please check out if i translate it right.. and one more for you (i made shortening in "Aggiorna l'interfac. ogni") and everyone who wants to make translation please look on string length then in UI. Especially in settings.. I think you or other people who will use it don't like puzzles of text,textboxes etc. Next will be German lang. Hope Lingvo get right translations. Link to comment Share on other sites More sharing options...
ceres Posted November 6, 2007 Report Share Posted November 6, 2007 It works very well! I've traslated "Loading..." in "Apertura..." (literally loading means caricamento and apertura means opening but the second one sound much better) and changed "Aggiorna l'interfac. ogni" in "Aggiorna i dati ogni" (as above, sound better)The new file is here: http://ceres.divxmania.it/webui.zip Link to comment Share on other sites More sharing options...
bumblebee Posted November 6, 2007 Report Share Posted November 6, 2007 Ok, did you post here latest version from #981 post?Decide to give english example separated from WebUI zip file. maybe it'll be more comfortable for me to store latest version.. language english file http://rapidshare.com/files/67801741/en.zip. Link to comment Share on other sites More sharing options...
ceres Posted November 6, 2007 Report Share Posted November 6, 2007 Yes, I've used the version from post #981.I've tried to find out a way to get language used from utorrent without any result...I think that the best thing is autodetect language from browser and, maybe, adding a language chooser in the page (near the search box?) Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 6, 2007 Report Share Posted November 6, 2007 BTW someone knows how to detect laguage of uTorrent from WebIU ??action=getsettings The resulting 'array' has a item called "language"."0" = English"27758" = DutchU'll have to find out urself what numbers are which language. Link to comment Share on other sites More sharing options...
bumblebee Posted November 6, 2007 Report Share Posted November 6, 2007 thanks, Lord AlderaanI think that set language from uTorrent is not so good, because users who use same WebUI maybe use different browser language. Ex: uTorrent lang = en. My browser lang = ru, someone browser lang = de. Another way to set language is dropdown as ceres says in #984. Problem is: how to store value of language? Maybe use cookies? any ideas?ceres, i've implement autodetect. Or it does not work?I see that WebUI didn't show info about download in bottom panel. And uTorrent didnt sent this over ?action=getfiles&hash=7307FB1FECC928C4443DD21ACE393F5AEE09DE0B Link to comment Share on other sites More sharing options...
ceres Posted November 6, 2007 Report Share Posted November 6, 2007 Autodetect works very well, but sometimes I use browsers in languages different from italian or english and a dropdown menu will be very usefull.The best way (and probably the only one) to store a selected language is to use cookies. It's also quite simple. Link to comment Share on other sites More sharing options...
bumblebee Posted November 6, 2007 Report Share Posted November 6, 2007 ok, i'll try to code that. BTW anyone knows free code formatter? there are code written in one line.. and it's not so simple to read it Link to comment Share on other sites More sharing options...
ceres Posted November 6, 2007 Report Share Posted November 6, 2007 http://ceres.divxmania.it/index.zip <- Try this index.html I've reformatted the script so now is human readable! Link to comment Share on other sites More sharing options...
bumblebee Posted November 6, 2007 Report Share Posted November 6, 2007 OK ,thanks, and what about other files? they are too big for hand formatting Link to comment Share on other sites More sharing options...
ceres Posted November 6, 2007 Report Share Posted November 6, 2007 Sorry, but I can't find anything that can unpack javascript code.The best option is to ask for source code to WebUI developers. Link to comment Share on other sites More sharing options...
pianistas2007 Posted November 6, 2007 Report Share Posted November 6, 2007 prison break Link to comment Share on other sites More sharing options...
ceres Posted November 6, 2007 Report Share Posted November 6, 2007 I've done a simple implementation of drop down menu.http://ceres.divxmania.it/webui.zipFiles added/edited:index.html : Around line 288, added the code for drop down menu, with an auto-generated list of available languageslang/lang.js : Added functions to show menu, select language and store/retrieve cookieimages/it.pngimages/en.pngimages/ru.pngimages/uk.png : Added flag images (24*24px, png, transparent background) Link to comment Share on other sites More sharing options...
bumblebee Posted November 7, 2007 Report Share Posted November 7, 2007 Yep, very nice. Thanks. I think about flags.. maybe find URL where those flags available and load them dynamically, because if anyone add language he need to add flag image in WebUI.I'm very sad when you format index.html you made a mistake somewhere. FF Fire bug reports an error in code Link to comment Share on other sites More sharing options...
ceres Posted November 7, 2007 Report Share Posted November 7, 2007 Yes, I was working on this bug till yesterday... No solution, I had to switch back to compressed version of index.htmlNow it works, try it out: http://ceres.divxmania.it/webui.zipI've moved style definitions to style.css, and scripts to the bottom of index.html.I've also added the word "Language" to localized files (Мова in ukrainian and язык in russian?)Concerning the flags:I've a collection of gif files with flags from all over the world, I've edited the 4 needed with Paint Shop Pro, but if you can find a better solution you're really welcome! Link to comment Share on other sites More sharing options...
bumblebee Posted November 7, 2007 Report Share Posted November 7, 2007 Yep, very good! I think we should to add edited flags to WebUI archive. Thiink images are not too large.Translation is right, just need ti type Язык from capital letter Link to comment Share on other sites More sharing options...
Lord Alderaan Posted November 7, 2007 Report Share Posted November 7, 2007 Make sure you guys document your changes so when a new version comes you can re-implement it. Link to comment Share on other sites More sharing options...
bumblebee Posted November 7, 2007 Report Share Posted November 7, 2007 New version didn't come over a year. I'm afraid development on it is stopped Link to comment Share on other sites More sharing options...
ceres Posted November 7, 2007 Report Share Posted November 7, 2007 Ok, I've corrected the russian file with the capital letter!If someone who don't suck with photoshop like me can make flags with the same style of the other icons (rounded, shiny, with shadow) maybe we should includes in webui.Since index.html now is completely changed I think that developers should use our version for future implementations (if they like our works) Link to comment Share on other sites More sharing options...
bumblebee Posted November 7, 2007 Report Share Posted November 7, 2007 Good answer! Ok, please post those images here. I'll ask our designer to make em beautiful BTW. I have 1000nt post here Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.