initialize locale