/inc/i18n.php

Description

Internationali[sz]ation of Bumblebee

Loads language pack for Bumblebee and tools for translating strings. Makes use of PHP's gettext() functions if they are available and the locale is installed on the server and can be found. Since this is rarely the case, particularly on shared servers, the fallback has to be a good one.

The php-gettext project provides the base functionality required.

See http://savannah.nongnu.org/projects/php-gettext/

(tested with php-gettext version 1.0.7)

Includes
include_once ('php-gettext/gettext.inc') (line 33)

php-gettext base file for gettext emulation

require_once ('inc/typeinfo.php') (line 27)

Load ancillary functions

require_once ('inc/bb/configreader.php') (line 30)
require_once ('inc/logging.php') (line 35)

logging routine

Constants
PACKAGE = 'bumblebee' (line 58)

package name for i18n (mo name)

Functions
T_ (line 77)
void T_ ( $s)
  • $s

Documentation generated on Tue, 06 Mar 2007 10:01:34 +0000 by phpDocumentor 1.3.0