Gettext
class Gettext (View source)
Static class providing Drupal specific Gettext functionality.
The operations are related to pumping data from a source to a destination, for example:
- Remote files http://*.po to memory
- File public://*.po to database
Methods
static array
fileToDatabase(object $file, array $options)
Reads the given PO files into the database.
Details
static array
fileToDatabase(object $file, array $options)
Reads the given PO files into the database.