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

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>