cache default locale
cache locales in localStorage in production