[release] Messenger Plus! Live Translator - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [release] Messenger Plus! Live Translator (/showthread.php?tid=58926) [release] Messenger Plus! Live Translator by Choli on 04-30-2006 at 08:03 PM
I think it's time to release my first script for Plus Live RE: [release] Messenger Plus! Live Translator by Max on 04-30-2006 at 09:30 PM Brilliant idea. RE: [release] Messenger Plus! Live Translator by Lou on 04-30-2006 at 11:03 PM Looks nice. I finally understood how to use it Lol! nicely done. RE: [release] Messenger Plus! Live Translator by Omar on 05-01-2006 at 01:07 AM
quote: errr... how? RE: [release] Messenger Plus! Live Translator by Lou on 05-01-2006 at 01:15 AM
quote:Select the file you are translating from, then the one you are saving to, and then just select something from the drop down to translate RE: [release] Messenger Plus! Live Translator by Choli on 05-01-2006 at 08:58 AM
quote:well maybe i should have explained that... i think your problem is how to open the translator. See the screenshot: RE: [release] Messenger Plus! Live Translator by giken on 05-01-2006 at 09:14 AM really thanks Choli, I'm going to use it to complete my translation RE: [release] Messenger Plus! Live Translator by Mnjul on 05-01-2006 at 03:18 PM
Great tool Choli RE: [release] Messenger Plus! Live Translator by Choli on 05-01-2006 at 04:16 PM
quote:it shows lng_*.ini because you can open any language file, not only the default one. quote:Cookie told me that issue this morning... i didn't think that changing the selection with the keyboard doesn't call the event. I don't know any workarround to this, so i can't implement it, sorry. Let's hope Patchou implements more events and with more controls Also, i don't know if you noticed, but when editing text, if you press Enter it's saved automatically* and my plans are to automatically change to the next key of the list to continue translating without touching the mouse or the keyboard *-> and of course there will be an option to turn off and on autosaving RE: RE: [release] Messenger Plus! Live Translator by CookieRevised on 05-01-2006 at 04:41 PM
quote:Makes sense... Though, this might better be as an option, so the user doesn't need to specify each time the actual file he wants to edit (in case the language he wants to edit is different than what is used in Plus!, eg: English is used and he is editing/working with the German one). Maybe this could be integrated like this: - everytime one of the two file selection change, store them in the registry and the next time the Translator is opened read them again (and thus load them again automatically -if they still exist of course-). - the default values for these two fields (for the very first time the Translator is called) are the default translation file (English) and the translation used at that time in Plus!. This makes that Mnjul's suggestion will be permormed, as well as: remember what files where selected previously. quote:- Only when no file was previously selected/entered in the file editbox, aka it was empty. And not as filter, but as filename in the openfile dialog! This makes that you still see all the ini files, but that the default translation file is already selected (all you need to do is press enter in that case and not also find and select the default file). - If a file was entered in the file textbox, the openfile dialog should automatically jump to that directory and select that file... Also, the openfile dialog should automatically "jump" to the translation files directory (if no file was previously entered in the file textbox; otherwise it should jump to that file's directory of course as suggested above). - Another small addition in this, but worthwhile and can save some time, is to automatically detect what the extension was of the file entered in the file textbox. If it was an ini file, set the filter index to *.INI, if it was not an ini file, set it to *.*. This mimics a semi-intelligent behaviour and can save some clicks for the user. (aka: if the user did not entered an ini file in the file textbox before, you can assume he also wants to view all files instead of only the ini files next time he presses the browse button)... Example of all this can be seen in my adaptation of the Background Changer Script which automatically selects the previously entered file and automatically "chooses" the filter index according to what extension the previously entered file has. This is also the same behaviour that some big programs have (eg: PaintShopPro, PSP, ..) quote:Time for Patchou to fix the event handler (aka the OnClick event should also fire when enter is pressed (possible for other controls too, didn't check), and an OnEventSelectionChanged or something should be added) ----- Other suggestions: 1- Make the window resizeable (and the translation text boxes and file textboxes should resize with it; the rest stays fixed) 2- Add another option to select if the Plus! interface windows automatically re-read the translation elements each time (AlwaysReloadInterfaces). This together with Mnjul's suggestion for automatically loading the used translation (given that the "automatically load used translation" option is set) makes it that you almost have a real "Live"/"On the fly" translator. 3- To make the above even more "on the fly", show the Translator's menu also in chat windows, so the user doesn't need to open the contact list each time he wants to translate when he sees some wrong stuff in chat windows. 4- (already suggested in MSN) make the file textboxes editable so the user can easly type the filename if he wants to instead of opening the openfile dialog. 5- (already suggested in MSN) when translated text is changed, ask user to update file or discard it (with an option selectable like in the standalone app) maybe even making it so that when you quick/close the window, Translator asks you to update the file or not (aka: making the changes in a temp file first and only updating the real one if the user agrees... this also makes it possible to "undo" so to speak) (<== already on the todo list IIRC) 6- In the mean time, until you changed it to a treeview with icons and stuff, you can add a 1 character indication before (or after) topics and keys to indicate if they are already translated, included in default file but not yet translated, not included in default file, etc... 7- Basic information of both the "default" file and translating file would be nice to see. eg: language name and translation level. RE: [release] Messenger Plus! Live Translator by Choli on 05-01-2006 at 05:04 PM
quote:i can only do that the window resizes horizontally (which is quite dodgy). I tried to do resizeable in both sides but when you change the height, you see dodgy efects: Note that there are 2 controls (the 2 edit boxes) that has to be resized vertically and they should maintain the same height. This is not possible via the xml file. Anyway, I don't see any reason to make it resizeable. All texts fit in the edit boxes, why make it bigger? RE: RE: [release] Messenger Plus! Live Translator by CookieRevised on 05-01-2006 at 05:06 PM
quote:Why would that be dodgy? quote:Yeah, I meant only horizontally . quote:because it might be suiteable for certain texts/translations, etc.... It's not an issue about text not being fully visible though, but about possible added convenience. It is a small thing to add, so why not? EDIT: As a matter of fact, it can be quite usefull to test how and when your translation is wrapped when you resize the window to fit the width available for certain translations. (eg: personally this is one of the things I always do/check too in my translation. Translating text is one thing; it should also look good, even when wrapped by Plus!) It might even be usefull to see possible loooooooooong path/file names in the file textboxes without scrolling with the cursor all the time. |