Page 1 of 1

pear.i18N, channel php.net/intl ,and pecl.intl

Posted: Fri Nov 26, 2010 1:32 pm
by dev-amany
hi
I m trying to build a website that supports multi-language (English and Arabic), but I faced series of problems which got me confused, so allow me to say the whole story in order to get my self clear:

1. I insatalled i18N package using the command

Code: Select all

pear install i18N
but a line of warning appeared which are :[text]Warning: "pear/I18N" is deprecated in favor of ''channel://php.net/intl" and informed me that I should update the package[/text] then it started downloading, the last line of the message was [text]install ok: channel://pear.php.net/I18N-1.0.0"[/text]

2. I updated the pear at whole using the command

Code: Select all

pear upgrade
after it finished I tried to check if there's any uninstalled dependecies using

Code: Select all

pear install --alldeps
but I got a "Nothing to install" message.

3.By checking Common subfolderwhich lies in the installed I18N package, I didn't find Arabic language of any country ( I want Arabic,Egypt), I thought it may be due to the deprecation problem, so I started looking for the package called intl within the pear.php.net channel but I found myself facing another error message indicating that the intl package is in pecl not pear.php.net

Finally
4. Typing

Code: Select all

pecl install intl
all what I got is the following few lines
[text]Warning: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading intl-1.1.2.tgz...
starting downloading intl1.1.2.tgz
........done
97 resource files, building
Warning: php_bin C:\Xampp\php\php.exe appears to have suffix \php.ex, but config variable php_suffix does not match
Error: The DSP intl.dsp does not exist
[/text]

Noting that I downloaded the PHP 5.3.1 included in the Xampp 1.7.3

I got really confused, can anyone help and guide me please? thank you