Added localstorage localization ability