Added language caching for local storage as well