PHP PEAR Translation2 install note
In order to support multi-language website, I would like to use PEAR Translation2
But only install Translation is not enough, MDB2 and MDB2#mysql also need to install
- pear install MDB2
- pear install MDB2#mysql
- pear install Translation2-2.0.4
Then we would use Translation2::factory(‘MDB2’, $db_info, $params); to initialize the translation engine where $db_info consist the database information and $params include table related information