Shoutbox

New Script: arabic<->english fixer - 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: New Script: arabic<->english fixer (/showthread.php?tid=61954)

New Script: arabic<->english fixer by ramik on 06-28-2006 at 09:33 PM

I made this script today for personal use.

Sometimes while chatting the others and me misses to change keyboard layout and writes a complete message with the wrong layout, such as "lvpfh f;l td l,rukh" instead of writing with arabic chars.

This script can fix such errors:
- The commands /fix2ar, /fix2en: takes the last line and convert it to the desired language then send it back to the window.

- /fixlang:  opens a window with the last 5 messages where you can select which one to fix and from what language to what language (with simple auto detect).

- "Set LangX as Default" from the menu on the chat window will set the default language as the desired one, and even writing with wrong layout will send correct message.

The Scripts adds a menu in the MsgPlus icon in the chat window with the available commands.

Latest version: v1.1

Changelog:
- Better interface with resizable window.
- more arabic/english characters pairs (Shift+english chars).
- Clean history of messages on logout.

Screenshot:
[Image: lang_fix.jpg]


RE: New Script: arabic<->english fixer by Tartooob on 06-29-2006 at 06:51 AM

Wow, it happends to me all the time lol ,, Post it please, I like the idea hehe, I used to have a program do that for me.


RE: New Script: arabic<->english fixer by ramik on 06-29-2006 at 07:25 AM

Here is a preview version:
what it does it mainly for incomming messages, when other people mistakes messages (it might work with outgoing too).

to convert from arabic-> english (arabic letters to write english words), type "/fix2en" or from the MsgPlus Icon in the chat windows select "Language Fixer -> Fix ar->en"..

to convert from english -> arabic (english letters to write arabic words), type "/fix2ar" or from the MsgPlus Icon in the chat windows select "Language Fixer -> Fix en->ar"..

it will send a message with the fixed text.

Currently it only work on the last message (even though i prepared an array for the last 5 messages), future release will have option to select from a window which message to fix.


RE: New Script: arabic<->english fixer by Tartooob on 06-29-2006 at 06:01 PM

Thanks, its nice.

Why not make a translator O.o ?


RE: New Script: arabic<->english fixer by Thor on 06-29-2006 at 06:05 PM

Good idea, I like it. :)


RE: New Script: arabic<->english fixer by ramik on 06-30-2006 at 03:33 PM

New version has some new features:
- moved character pairs to an xml file instead of script itself, so it might be used for other language pairs.
- default language: 2 options in menu, Set arabic as default, set eng as default, with of them them is set as default, even if you mistake writing a message in the wrong language when sending it will be sent correctly

i will post it later tonight, after i make some testing...


RE: New Script: arabic<->english fixer by Q8Bond007 on 08-12-2006 at 04:09 PM

Very good idea :)
Thanks for this script!