From: Tomas K. <to...@us...> - 2003-03-02 09:18:43
|
>> Hi all, >> >> can you add this server "almisbar.com" to the Message Translation >> plugin. >> it translate english to arabic. > > Two things. > > 1. Maybe it is better to have a separate plugin? It's just one button and > four options. > > 2. Maybe almisbar.com developers want to provide other translation > handler/script? Currently their script just returns English translation to > Arabic. No references to http://www.almisbar.com, no comments about > service provider, no form to continue translation. Attached preliminary patch that adds Al Misbar translation to SM 1.4 translate plugin. You need to use post 1.4rc2a cvs version of translate plugin. 1.4rc2a version does not have fixes and updates in translation servers. Patch can be applied with command 'zcat translate-almisbar.diff.gz | patch -p 1' run in squirrelmail's plugins/translate directory. Or you can take a look at changes that were made and apply them manually. Problems: a) see the second thing from my previous email. b) it won't be the part of 1.4 release. this is not a bugfix, but new feature with muchos :) i18n strings. And this translation engine is related only to particular region. If we add every translation server available on the net ... c) translate plugin converts entire email into one string. formating is lost and emails sometimes :) don't follow proper English grammar/spelling. d) without user feedback it is only yet another untested patch. -- Tomas |