Secured locale function.