PEAR Manual
Prev |  | Next

# Translation2::setLang()

Translation2::setLang() -- Set default lang

## Synopsis

    require_once 'Translation2.php';

``void Translation2::setLang` (string $langID)`

## Description

Set the language that shall be used when retrieving strings.

## Parameter

string `$langID` language code (for instance, 'en' or 'it')

## Note

This function can not be called statically.

Prev | Home | Next
Translation2::getStringID() | Up | Translation2::setPageID()