reading and saving locale info to/from cookie