remember language selection in localStorage