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