detect user lang and save in locale storage