Re: Language check

From: Date: Mon, 28 Nov 2005 14:46:59 +0000
Subject: Re: Language check
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-226542@lists.php.net to get a copy of this message
Khorosh Irani wrote:
Hello I want to sure that all the character of a posted string is in my language(persian for example).What should I do?
a few alternatives: 1. read through each posted string manually. 2. hire a persian monkey to do that for you. (monkeys are cheaper ;-) 3. google around for a persian spellchecker and use that - if you can find one then the chances are you'll have to use it via an exec() call or something similar. 4. or use the pspell php extension ... I have no idea of persian dictionaries are available: http://php.net/manual/en/ref.pspell.php you are in luck, aspell does support Persian (fa): http://aspell.sourceforge.net/man-html/Supported.html
Thanks


« previous php.general (#226542) next »