Resets the given language type or all types if none specified.
string|null $type: (optional) The language type to reset as a string, e.g., Language::TYPE_INTERFACE, or NULL to reset all language types. Defaults to NULL.
public function reset($type = NULL) {
if (!isset($type)) {
$this->languages = array();
$this->initialized = FALSE;
}
elseif (isset($this->languages[$type])) {
unset($this->languages[$type]);
}
}