* @license LGPL, see license.txt for details * @link http://www.php-tools.net */ // load class if( !class_exists( 'patI18n', false ) ) { require_once $neededFiles['patI18n']; } // Internal patI18n::addModule( 'Internal' ); // Gettext $moduleConf = array( 'domain' => 'this_domain_is_not_used', 'dir' => '/tmp', 'domains' => array( array( 'domain' => 'patForms', 'dir' => realpath( dirname( __FILE__ ) . '/../locales' ), ) ) ); patI18n::addModule( 'Gettext', $moduleConf ); // choose the language patI18n::setLocale( $_GET['lang'] ); ?>