Click here for locale_get_default function details.
For information on setting up the locale using the locale_set_default function, click here.