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

  1. pear install MDB2
  2. pear install MDB2#mysql
  3. 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

Leave a Reply